From c007ca624f4a95e1a491221d425fcb2fa6e5589a Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 21 Nov 2019 16:40:38 +0100 Subject: Make phpunit8 compatible Signed-off-by: Roeland Jago Douma --- apps/encryption/tests/Controller/RecoveryControllerTest.php | 2 +- apps/encryption/tests/Controller/SettingsControllerTest.php | 2 +- apps/encryption/tests/Controller/StatusControllerTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/encryption/tests/Controller') 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(); -- cgit v1.2.3