summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests/Controller
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-21 16:40:38 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 13:34:41 +0100
commitc007ca624f4a95e1a491221d425fcb2fa6e5589a (patch)
treeb60aa133b438eb116ac3579283aa8a7967efd12b /apps/encryption/tests/Controller
parente0f32814e33f9ebb8c42744611048cbfac1eb588 (diff)
downloadnextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.tar.gz
nextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.zip
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/encryption/tests/Controller')
-rw-r--r--apps/encryption/tests/Controller/RecoveryControllerTest.php2
-rw-r--r--apps/encryption/tests/Controller/SettingsControllerTest.php2
-rw-r--r--apps/encryption/tests/Controller/StatusControllerTest.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/tests/Controller/RecoveryControllerTest.php b/apps/encryption/tests/Controller/RecoveryControllerTest.php
index 79f03f214ea..5737f8e86ca 100644
--- a/apps/encryption/tests/Controller/RecoveryControllerTest.php
+++ b/apps/encryption/tests/Controller/RecoveryControllerTest.php
@@ -152,7 +152,7 @@ class RecoveryControllerTest extends TestCase {
}
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->requestMock = $this->getMockBuilder(IRequest::class)
diff --git a/apps/encryption/tests/Controller/SettingsControllerTest.php b/apps/encryption/tests/Controller/SettingsControllerTest.php
index b50f7cd0b61..bc2a7ed853b 100644
--- a/apps/encryption/tests/Controller/SettingsControllerTest.php
+++ b/apps/encryption/tests/Controller/SettingsControllerTest.php
@@ -74,7 +74,7 @@ class SettingsControllerTest extends TestCase {
/** @var \OCA\Encryption\Util|\PHPUnit_Framework_MockObject_MockObject */
private $utilMock;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
diff --git a/apps/encryption/tests/Controller/StatusControllerTest.php b/apps/encryption/tests/Controller/StatusControllerTest.php
index ffd12bd20b9..ccf33ffd37b 100644
--- a/apps/encryption/tests/Controller/StatusControllerTest.php
+++ b/apps/encryption/tests/Controller/StatusControllerTest.php
@@ -51,7 +51,7 @@ class StatusControllerTest extends TestCase {
/** @var StatusController */
protected $controller;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();