aboutsummaryrefslogtreecommitdiff
path: root/internal/route/lfs/batch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/lfs/batch_test.go')
-rw-r--r--internal/route/lfs/batch_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/route/lfs/batch_test.go b/internal/route/lfs/batch_test.go
index 7dce2004..61cfb562 100644
--- a/internal/route/lfs/batch_test.go
+++ b/internal/route/lfs/batch_test.go
@@ -23,6 +23,7 @@ func Test_serveBatch(t *testing.T) {
conf.SetMockServer(t, conf.ServerOpts{
ExternalURL: "https://gogs.example.com/",
})
+
m := macaron.New()
m.Use(func(c *macaron.Context) {
c.Map(&db.User{Name: "owner"})