diff options
author | Robin Appelman <robin@icewind.nl> | 2024-09-18 14:48:20 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-09-19 17:45:37 +0200 |
commit | ebbf74fded789bf582afb558abb89dcdbfab5244 (patch) | |
tree | 577153985e84c2ea372abd7cb9c91b886bbfe47b /apps/dav | |
parent | f38d70404d4acc66cbd3167474aff5eb5f391f35 (diff) | |
download | nextcloud-server-ebbf74fded789bf582afb558abb89dcdbfab5244.tar.gz nextcloud-server-ebbf74fded789bf582afb558abb89dcdbfab5244.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 88ec848ad89..d86525f16c4 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php @@ -25,6 +25,7 @@ */ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; +use OC\AllConfig; use OCP\IConfig; /** @@ -49,7 +50,7 @@ class PartFileInRootUploadTest extends UploadTest { return $config->getSystemValue($key, $default); } }); - $this->overwriteService('AllConfig', $mockConfig); + $this->overwriteService(AllConfig::class, $mockConfig); parent::setUp(); } |