aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,