test: fix service overwrite in PartFileInRootUploadTest

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/48160/head
Robin Appelman 2024-09-18 14:48:20 +07:00
parent 1db3d94e1e
commit 627980ec2a
1 changed files with 2 additions and 1 deletions

@ -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();
}