summaryrefslogtreecommitdiff
path: root/testrig/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/router.go')
-rw-r--r--testrig/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/testrig/router.go b/testrig/router.go
index abd168724..83ce7b602 100644
--- a/testrig/router.go
+++ b/testrig/router.go
@@ -20,6 +20,7 @@ package testrig
import "github.com/superseriousbusiness/gotosocial/internal/router"
+// NewTestRouter returns a Router suitable for testing
func NewTestRouter() router.Router {
r, err := router.New(NewTestConfig(), NewTestLog())
if err != nil {