From e1198433a63eec2c900ac8986dbf0ae7db16b777 Mon Sep 17 00:00:00 2001 From: Emiliano Ciavatta Date: Thu, 8 Oct 2020 17:08:12 +0200 Subject: Fix tests --- application_router_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3-70-g09d2