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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/SubAdminTest.php')
-rw-r--r--tests/lib/SubAdminTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/SubAdminTest.php b/tests/lib/SubAdminTest.php
index 67d4bd1eb2b..b2c15894391 100644
--- a/tests/lib/SubAdminTest.php
+++ b/tests/lib/SubAdminTest.php
@@ -41,7 +41,7 @@ class SubAdminTest extends \Test\TestCase {
/** @var \OCP\IGroup[] */
private $groups;
- public function setUp(): void {
+ protected function setUp(): void {
$this->users = [];
$this->groups = [];
@@ -83,7 +83,7 @@ class SubAdminTest extends \Test\TestCase {
->execute();
}
- public function tearDown(): void {
+ protected function tearDown(): void {
foreach($this->users as $user) {
$user->delete();
}