diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-03 07:14:03 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-03 10:37:58 +0200 |
commit | a806e77cb611342c1b5ccd266c9efa79ab2974b0 (patch) | |
tree | 29caa98d9a356c40b9f5655d62b63d03a692e963 /tests | |
parent | c966aa0d549de74a978a6d3398c157eb966d86cc (diff) |
Implement our own initialStateService for 15
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/Controller/PageControllerTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/Controller/PageControllerTest.php b/tests/unit/Controller/PageControllerTest.php index f23ef441..6090af17 100644 --- a/tests/unit/Controller/PageControllerTest.php +++ b/tests/unit/Controller/PageControllerTest.php @@ -25,7 +25,7 @@ namespace OCA\Contacts\Controller; use OCP\AppFramework\Http\TemplateResponse; use PHPUnit\Framework\MockObject\MockObject; -use OCP\IInitialStateService; +// use OCP\IInitialStateService; use OCP\IRequest; use OCP\L10N\IFactory; use ChristophWurst\Nextcloud\Testing\TestCase; @@ -38,8 +38,8 @@ class PageControllerTest extends TestCase { /** @var IRequest|MockObject */ private $request; - /** @var IInitialStateService|MockObject */ - private $initialStateService; + // /** @var IInitialStateService|MockObject */ + // private $initialStateService; /** @var IFactory|MockObject */ private $languageFactory; @@ -48,13 +48,13 @@ class PageControllerTest extends TestCase { parent::setUp(); $this->request = $this->createMock(IRequest::class); - $this->initialStateService = $this->createMock(IInitialStateService::class); + // $this->initialStateService = $this->createMock(IInitialStateService::class); $this->languageFactory = $this->createMock(IFactory::class); $this->controller = new PageController( 'contacts', $this->request, - $this->initialStateService, + // $this->initialStateService, $this->languageFactory ); } |