diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2025-05-19 07:02:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-19 07:02:11 +0200 |
commit | 6b4f5c567ccafc9452917469bc99b01bbe22370c (patch) | |
tree | ed08f2a8c56f2e9cdcc09e59572ce39a0e9e6f33 /tests/lib/Files/FilesystemTest.php | |
parent | e8d4c76ca5ab486ff1ae49162677395b69043052 (diff) | |
parent | 70ef0a8db786d50368db4e5d162f560229053526 (diff) | |
download | nextcloud-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.php | 2 |
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')); } } |