diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2020-09-04 18:29:44 +0000 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-09-04 20:36:30 +0200 |
commit | 8cdccc357060060faca41f4c30466b7b28cd59dd (patch) | |
tree | 611b584a9fefcd93987865cf5d5dd9a3a6dd426f /tests | |
parent | 6b050c8cee52244ee13fb7d56480c3ac12cbde88 (diff) |
Bump christophwurst/nextcloud_testing from 0.7.0 to 0.10.0
Bumps [christophwurst/nextcloud_testing](https://github.com/ChristophWurst/nextcloud_testing) from 0.7.0 to 0.10.0.
- [Release notes](https://github.com/ChristophWurst/nextcloud_testing/releases)
- [Commits](https://github.com/ChristophWurst/nextcloud_testing/compare/0.7.0...0.10.0)
Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/Controller/ContactsControllerTest.php | 2 | ||||
-rw-r--r-- | tests/unit/Controller/PageControllerTest.php | 4 | ||||
-rw-r--r-- | tests/unit/Service/SocialApiServiceTest.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/Controller/ContactsControllerTest.php b/tests/unit/Controller/ContactsControllerTest.php index 34e35a27..c55cc1f2 100644 --- a/tests/unit/Controller/ContactsControllerTest.php +++ b/tests/unit/Controller/ContactsControllerTest.php @@ -40,7 +40,7 @@ class ContactsControllerTest extends TestCase { private $urlGenerator; - public function setUp() { + protected function setUp(): void { parent::setUp(); $this->request = $this->createMock(IRequest::class); 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); diff --git a/tests/unit/Service/SocialApiServiceTest.php b/tests/unit/Service/SocialApiServiceTest.php index a2033a41..8b5db3d3 100644 --- a/tests/unit/Service/SocialApiServiceTest.php +++ b/tests/unit/Service/SocialApiServiceTest.php @@ -78,7 +78,7 @@ class SocialApiServiceTest extends TestCase { ]; } - public function setUp() { + protected function setUp(): void { parent::setUp(); $this->manager = $this->createMock(IManager::class); |