diff options
Diffstat (limited to 'tests/Unit/Controller/AvatarControllerTest.php')
-rw-r--r-- | tests/Unit/Controller/AvatarControllerTest.php | 4 |
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); |