aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-10-08 15:08:12 +0000
committerEmiliano Ciavatta2020-10-08 15:08:12 +0000
commite1198433a63eec2c900ac8986dbf0ae7db16b777 (patch)
tree9819a42c6219fea7018881ba8a58bba1774ed3cf
parenta30815021e61023f996b1450ddcd9164a6e18bef (diff)
Fix tests
-rw-r--r--application_router_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/application_router_test.go b/application_router_test.go
index 9741eed..ec6d151 100644
--- a/application_router_test.go
+++ b/application_router_test.go
@@ -170,7 +170,8 @@ func NewRouterTestToolkit(t *testing.T, withSetup bool) *RouterTestToolkit {
gin.SetMode(gin.ReleaseMode)
notificationController := NewNotificationController(appContext)
go notificationController.Run()
- router := CreateApplicationRouter(appContext, notificationController)
+ resourcesController := NewResourcesController(notificationController)
+ router := CreateApplicationRouter(appContext, notificationController, resourcesController)
toolkit := RouterTestToolkit{
appContext: appContext,