diff options
Diffstat (limited to 'tests/unit/Controller/PageControllerTest.php')
-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 ); } |