diff options
author | provokateurin <kate@provokateurin.de> | 2025-05-14 15:29:02 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2025-05-14 15:29:02 +0200 |
commit | 78a175fc74100444b84135f651b33b9524f8e0c5 (patch) | |
tree | c8fb273a803bdbab8ebf7143daa45a4c99eddd27 /apps/files_trashbin/tests | |
parent | 953d1ab96205bde3e6610b8c686e6f81bf708d9b (diff) | |
download | nextcloud-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.php | 3 |
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'); |