diff options
author | 2021-08-25 15:34:33 +0200 | |
---|---|---|
committer | 2021-08-25 15:34:33 +0200 | |
commit | 2dc9fc1626507bb54417fc4a1920b847cafb27a2 (patch) | |
tree | 4ddeac479b923db38090aac8bd9209f3646851c1 /testrig/router.go | |
parent | Manually approves followers (#146) (diff) | |
download | gotosocial-2dc9fc1626507bb54417fc4a1920b847cafb27a2.tar.xz |
Pg to bun (#148)
* start moving to bun
* changing more stuff
* more
* and yet more
* tests passing
* seems stable now
* more big changes
* small fix
* little fixes
Diffstat (limited to 'testrig/router.go')
-rw-r--r-- | testrig/router.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testrig/router.go b/testrig/router.go index 5770191ea..a3c119468 100644 --- a/testrig/router.go +++ b/testrig/router.go @@ -19,13 +19,15 @@ package testrig import ( + "context" + "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/router" ) // NewTestRouter returns a Router suitable for testing func NewTestRouter(db db.DB) router.Router { - r, err := router.New(NewTestConfig(), db, NewTestLog()) + r, err := router.New(context.Background(), NewTestConfig(), db, NewTestLog()) if err != nil { panic(err) } |