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:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-02-07 13:39:55 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-03-15 17:13:12 +0300
commitc1152af523d742efb669d6a59aecc65f4763d723 (patch)
treed154f03004c4a2e234ef0daffd4ac6ca7c3ad69a /apps/files_versions
parent20f4a8c04609e58d81037753bf1d9cd39f4e8c02 (diff)
Move deprecated aliases over to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/tests/VersioningTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_versions/tests/VersioningTest.php b/apps/files_versions/tests/VersioningTest.php
index 9bee9e0abc2..e07a1816c30 100644
--- a/apps/files_versions/tests/VersioningTest.php
+++ b/apps/files_versions/tests/VersioningTest.php
@@ -93,7 +93,7 @@ class VersioningTest extends \Test\TestCase {
return $config->getSystemValue($key, $default);
}
}));
- $this->overwriteService('AllConfig', $mockConfig);
+ $this->overwriteService(\OC\AllConfig::class, $mockConfig);
// clear hooks
\OC_Hook::clear();
@@ -115,7 +115,7 @@ class VersioningTest extends \Test\TestCase {
}
protected function tearDown(): void {
- $this->restoreService('AllConfig');
+ $this->restoreService(\OC\AllConfig::class);
if ($this->rootView) {
$this->rootView->deleteAll(self::TEST_VERSIONS_USER . '/files/');
@@ -629,7 +629,7 @@ class VersioningTest extends \Test\TestCase {
$this->assertFalse(\OCA\Files_Versions\Storage::expire('/void/unexist.txt', self::TEST_VERSIONS_USER));
}
-
+
public function testExpireNonexistingUser() {
$this->expectException(\OC\User\NoUserException::class);