diff --git a/x-pack/legacy/plugins/reporting/server/routes/lib/authorized_user_pre_routing.test.js b/x-pack/legacy/plugins/reporting/server/routes/lib/authorized_user_pre_routing.test.js index 7e3afe8507bb6..3460d22592e3d 100644 --- a/x-pack/legacy/plugins/reporting/server/routes/lib/authorized_user_pre_routing.test.js +++ b/x-pack/legacy/plugins/reporting/server/routes/lib/authorized_user_pre_routing.test.js @@ -91,7 +91,7 @@ describe('authorized_user_pre_routing', function() { const authorizedUserPreRouting = authorizedUserPreRoutingFactory( mockServer, - { security: null }, + getMockPlugins(), getMockLogger() ); const response = await authorizedUserPreRouting(getMockRequest());