summaryrefslogtreecommitdiff
path: root/internal/cliactions/testrig/testrig.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-07-07 15:46:42 +0200
committerLibravatar GitHub <noreply@github.com>2021-07-07 15:46:42 +0200
commitc71e55ecc4c2381785b5f8ae10af74d8a537d6c3 (patch)
treed58bfed57b7232a9b254f8582f9725e2583f8ecd /internal/cliactions/testrig/testrig.go
parentBlocklist import (#77) (diff)
downloadgotosocial-c71e55ecc4c2381785b5f8ae10af74d8a537d6c3.tar.xz
clean up some weirdness in the router (#80)
Diffstat (limited to 'internal/cliactions/testrig/testrig.go')
-rw-r--r--internal/cliactions/testrig/testrig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cliactions/testrig/testrig.go b/internal/cliactions/testrig/testrig.go
index a1d2d7af7..43d2db726 100644
--- a/internal/cliactions/testrig/testrig.go
+++ b/internal/cliactions/testrig/testrig.go
@@ -44,7 +44,7 @@ var Start cliactions.GTSAction = func(ctx context.Context, _ *config.Config, log
c := testrig.NewTestConfig()
dbService := testrig.NewTestDB()
testrig.StandardDBSetup(dbService)
- router := testrig.NewTestRouter()
+ router := testrig.NewTestRouter(dbService)
storageBackend := testrig.NewTestStorage()
testrig.StandardStorageSetup(storageBackend, "./testrig/media")