aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/tests
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-05-14 15:29:02 +0200
committerprovokateurin <kate@provokateurin.de>2025-05-14 15:29:02 +0200
commit78a175fc74100444b84135f651b33b9524f8e0c5 (patch)
treec8fb273a803bdbab8ebf7143daa45a4c99eddd27 /apps/files_trashbin/tests
parent953d1ab96205bde3e6610b8c686e6f81bf708d9b (diff)
downloadnextcloud-server-78a175fc74100444b84135f651b33b9524f8e0c5.tar.gz
nextcloud-server-78a175fc74100444b84135f651b33b9524f8e0c5.zip
refactor: Apply rector refactoringschore/deps/rector-2.0
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r--apps/files_trashbin/tests/TrashbinTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_trashbin/tests/TrashbinTest.php b/apps/files_trashbin/tests/TrashbinTest.php
index d16e90f74e9..823d69d02c5 100644
--- a/apps/files_trashbin/tests/TrashbinTest.php
+++ b/apps/files_trashbin/tests/TrashbinTest.php
@@ -12,6 +12,7 @@ use OC\Files\Filesystem;
use OC\Files\Storage\Local;
use OC\Files\View;
use OC\SystemConfig;
+use OC\User\Database;
use OCA\Files_Sharing\AppInfo\Application;
use OCA\Files_Trashbin\AppInfo\Application as TrashbinApplication;
use OCA\Files_Trashbin\Expiration;
@@ -59,7 +60,7 @@ class TrashbinTest extends \Test\TestCase {
// reset backend
Server::get(IUserManager::class)->clearBackends();
- Server::get(IUserManager::class)->registerBackend(new \OC\User\Database());
+ Server::get(IUserManager::class)->registerBackend(new Database());
// clear share hooks
\OC_Hook::clear('OCP\\Share');