mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-17 19:23:01 -06:00
clean up some weirdness in the router
This commit is contained in:
parent
3568579218
commit
a23041543d
11 changed files with 336 additions and 85 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue