aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/FilesystemTest.php
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2025-05-19 07:02:11 +0200
committerGitHub <noreply@github.com>2025-05-19 07:02:11 +0200
commit6b4f5c567ccafc9452917469bc99b01bbe22370c (patch)
treeed08f2a8c56f2e9cdcc09e59572ce39a0e9e6f33 /tests/lib/Files/FilesystemTest.php
parente8d4c76ca5ab486ff1ae49162677395b69043052 (diff)
parent70ef0a8db786d50368db4e5d162f560229053526 (diff)
downloadnextcloud-server-6b4f5c567ccafc9452917469bc99b01bbe22370c.tar.gz
nextcloud-server-6b4f5c567ccafc9452917469bc99b01bbe22370c.zip
Merge pull request #52848 from nextcloud/fix/cleanup-servercontainer
Diffstat (limited to 'tests/lib/Files/FilesystemTest.php')
-rw-r--r--tests/lib/Files/FilesystemTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/FilesystemTest.php b/tests/lib/Files/FilesystemTest.php
index 966f6f34cee..529b4f58428 100644
--- a/tests/lib/Files/FilesystemTest.php
+++ b/tests/lib/Files/FilesystemTest.php
@@ -473,7 +473,7 @@ class FilesystemTest extends \Test\TestCase {
$this->assertEquals('/', \OC\Files\Filesystem::getMountPoint('/foo/bar'));
$mount = new MountPoint(new Temporary([]), '/foo/bar');
$mountProvider = new DummyMountProvider([self::TEST_FILESYSTEM_USER2 => [$mount]]);
- \OC::$server->getMountProviderCollection()->registerProvider($mountProvider);
+ \OCP\Server::get(\OCP\Files\Config\IMountProviderCollection::class)->registerProvider($mountProvider);
$this->assertEquals('/foo/bar/', \OC\Files\Filesystem::getMountPoint('/foo/bar'));
}
}