summaryrefslogtreecommitdiffstats
path: root/apps/settings/tests/Controller/AdminSettingsControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/tests/Controller/AdminSettingsControllerTest.php')
-rw-r--r--apps/settings/tests/Controller/AdminSettingsControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/tests/Controller/AdminSettingsControllerTest.php b/apps/settings/tests/Controller/AdminSettingsControllerTest.php
index 2789fe00974..d3591c6d67a 100644
--- a/apps/settings/tests/Controller/AdminSettingsControllerTest.php
+++ b/apps/settings/tests/Controller/AdminSettingsControllerTest.php
@@ -62,7 +62,7 @@ class AdminSettingsControllerTest extends TestCase {
/** @var string */
private $adminUid = 'lololo';
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->request = $this->createMock(IRequest::class);
@@ -87,7 +87,7 @@ class AdminSettingsControllerTest extends TestCase {
\OC::$server->getGroupManager()->createGroup('admin')->addUser($user);
}
- public function tearDown() {
+ public function tearDown(): void {
\OC::$server->getUserManager()->get($this->adminUid)->delete();
parent::tearDown();