diff options
author | Robin Appelman <robin@icewind.nl> | 2024-09-18 14:48:20 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-09-19 13:59:08 +0200 |
commit | 8a156768a540e15a9a6c98caa068b654926849da (patch) | |
tree | 3f1f2f444ce3d9f2e99c1f4e6f7bae0a89db7c11 /apps/dav/tests | |
parent | 8b8508c8b126de8a5c0608b7a8fbf2cc6eb3a9b7 (diff) | |
download | nextcloud-server-8a156768a540e15a9a6c98caa068b654926849da.tar.gz nextcloud-server-8a156768a540e15a9a6c98caa068b654926849da.zip |
test: fix service overwrite in PartFileInRootUploadTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav/tests')
-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(); } |