summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-02-07 11:39:55 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-03-15 15:13:12 +0100
commitc1152af523d742efb669d6a59aecc65f4763d723 (patch)
treed154f03004c4a2e234ef0daffd4ac6ca7c3ad69a /apps/files_trashbin
parent20f4a8c04609e58d81037753bf1d9cd39f4e8c02 (diff)
downloadnextcloud-server-c1152af523d742efb669d6a59aecc65f4763d723.tar.gz
nextcloud-server-c1152af523d742efb669d6a59aecc65f4763d723.zip
Move deprecated aliases over to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/tests/TrashbinTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/tests/TrashbinTest.php b/apps/files_trashbin/tests/TrashbinTest.php
index 1e041498390..e682d0dd51f 100644
--- a/apps/files_trashbin/tests/TrashbinTest.php
+++ b/apps/files_trashbin/tests/TrashbinTest.php
@@ -129,7 +129,7 @@ class TrashbinTest extends \Test\TestCase {
return $config->getSystemValue($key, $default);
}
}));
- $this->overwriteService('AllConfig', $mockConfig);
+ $this->overwriteService(\OC\AllConfig::class, $mockConfig);
$this->trashRoot1 = '/' . self::TEST_TRASHBIN_USER1 . '/files_trashbin';
$this->trashRoot2 = '/' . self::TEST_TRASHBIN_USER2 . '/files_trashbin';
@@ -138,7 +138,7 @@ class TrashbinTest extends \Test\TestCase {
}
protected function tearDown(): void {
- $this->restoreService('AllConfig');
+ $this->restoreService(\OC\AllConfig::class);
// disable trashbin to be able to properly clean up
\OC::$server->getAppManager()->disableApp('files_trashbin');