summaryrefslogtreecommitdiffstats
path: root/tests/unit/Controller/PageControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Controller/PageControllerTest.php')
-rw-r--r--tests/unit/Controller/PageControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Controller/PageControllerTest.php b/tests/unit/Controller/PageControllerTest.php
index c7570f99..1b3625e2 100644
--- a/tests/unit/Controller/PageControllerTest.php
+++ b/tests/unit/Controller/PageControllerTest.php
@@ -27,7 +27,7 @@ namespace OCA\Contacts\Controller;
use ChristophWurst\Nextcloud\Testing\TestCase;
use OCA\Contacts\Service\SocialApiService;
use OCP\AppFramework\Http\TemplateResponse;
-use OCP\IAppManager;
+use OCP\App\IAppManager;
use OCP\IConfig;
use OCP\IInitialStateService;
use OCP\IRequest;
@@ -60,7 +60,7 @@ class PageControllerTest extends TestCase {
/** @var IAppManager|MockObject*/
private $appManager;
- public function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->request = $this->createMock(IRequest::class);