aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Repair/OldGroupMembershipSharesTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Repair/OldGroupMembershipSharesTest.php')
-rw-r--r--tests/lib/Repair/OldGroupMembershipSharesTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/Repair/OldGroupMembershipSharesTest.php b/tests/lib/Repair/OldGroupMembershipSharesTest.php
index 594a8bf0b66..099290b18ed 100644
--- a/tests/lib/Repair/OldGroupMembershipSharesTest.php
+++ b/tests/lib/Repair/OldGroupMembershipSharesTest.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
@@ -11,6 +12,7 @@ use OC\Repair\OldGroupMembershipShares;
use OCP\IDBConnection;
use OCP\IGroupManager;
use OCP\Migration\IOutput;
+use OCP\Server;
use OCP\Share\IShare;
use PHPUnit\Framework\MockObject\MockObject;
@@ -32,7 +34,7 @@ class OldGroupMembershipSharesTest extends \Test\TestCase {
$this->groupManager = $this->getMockBuilder(IGroupManager::class)
->disableOriginalConstructor()
->getMock();
- $this->connection = \OCP\Server::get(IDBConnection::class);
+ $this->connection = Server::get(IDBConnection::class);
$this->deleteAllShares();
}