From 627980ec2ad5ba300123a5fe85db388d73f55a12 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 18 Sep 2024 14:48:20 +0200 Subject: test: fix service overwrite in PartFileInRootUploadTest Signed-off-by: Robin Appelman --- .../unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/dav') 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(); } -- cgit v1.2.3