diff --git a/tests/Unit/Controller/PageControllerTest.php b/tests/Unit/Controller/PageControllerTest.php index e84d80f62..eaffed6d6 100644 --- a/tests/Unit/Controller/PageControllerTest.php +++ b/tests/Unit/Controller/PageControllerTest.php @@ -89,23 +89,21 @@ class PageControllerTest extends UnitTestCase { $this->controller = new PageController( 'polls', - $avatarManager, - $config, - $groupManager, - $l10n, - $logger, $request, - $urlGenerator, - $user, + $config, $userManager, - $transFactory, - $mailer, + $groupManager, + $avatarManager, + $logger, + $l10n, + $urlGenerator, + $this->userId, $commentMapper, - $optionsMapper, $eventMapper, $notificationMapper, + $optionsMapper, $votesMapper, - $this->userId + $mailer ); }