diff options
author | Robin Appelman <robin@icewind.nl> | 2024-09-18 14:48:20 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-09-18 16:10:14 +0200 |
commit | 627980ec2ad5ba300123a5fe85db388d73f55a12 (patch) | |
tree | 56528654f80378705a0eada3d8123f4e542b1525 /apps/dav | |
parent | 1db3d94e1e8ab88bc38c6241b912f6ec3d1bd5f5 (diff) | |
download | nextcloud-server-627980ec2ad5ba300123a5fe85db388d73f55a12.tar.gz nextcloud-server-627980ec2ad5ba300123a5fe85db388d73f55a12.zip |
test: fix service overwrite in PartFileInRootUploadTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php index 200008bcfce..11a44f26942 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php @@ -7,6 +7,7 @@ */ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; +use OC\AllConfig; use OCP\IConfig; /** @@ -31,7 +32,7 @@ class PartFileInRootUploadTest extends UploadTest { return $config->getSystemValue($key, $default); } }); - $this->overwriteService('AllConfig', $mockConfig); + $this->overwriteService(AllConfig::class, $mockConfig); parent::setUp(); } |