Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Controller/AvatarControllerTest.php')
-rw-r--r--tests/Unit/Controller/AvatarControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Controller/AvatarControllerTest.php b/tests/Unit/Controller/AvatarControllerTest.php
index b6df45e3d..20651c047 100644
--- a/tests/Unit/Controller/AvatarControllerTest.php
+++ b/tests/Unit/Controller/AvatarControllerTest.php
@@ -47,7 +47,7 @@ class AvatarControllerTest extends TestCase {
/** @var ITimeFactory */
private $oldFactory;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$request = $this->createMock(IRequest::class);
@@ -65,7 +65,7 @@ class AvatarControllerTest extends TestCase {
$this->controller = new AvatarsController('mail', $request, $this->avatarService, 'jane');
}
- protected function tearDown() {
+ protected function tearDown(): void {
parent::tearDown();
\OC::$server->offsetUnset(ITimeFactory::class);