diff options
author | dartcafe <github@dartcafe.de> | 2020-11-14 08:57:38 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-11-19 10:20:52 +0300 |
commit | 6b40ed41fecef73c5ad2914a2d5c721d2c28371b (patch) | |
tree | 2b75dbef4665f7f607d856f151454a14d27526ad /tests | |
parent | c85953b4c7cdc0ab2a7bb51b504d14db248dba22 (diff) |
fix test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Controller/PageControllerTest.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Unit/Controller/PageControllerTest.php b/tests/Unit/Controller/PageControllerTest.php index fd22d3a0..232fb190 100644 --- a/tests/Unit/Controller/PageControllerTest.php +++ b/tests/Unit/Controller/PageControllerTest.php @@ -42,11 +42,15 @@ class PageControllerTest extends UnitTestCase { $urlGenerator = $this->getMockBuilder('OCP\IURLGenerator') ->disableOriginalConstructor() ->getMock(); + $notificationService = $this->getMockBuilder('OCA\Polls\Service\NotificationService') + ->disableOriginalConstructor() + ->getMock(); $this->controller = new PageController( 'polls', $request, - $urlGenerator + $urlGenerator, + $notificationService ); } |