mirror of
https://github.com/nextcloud/server.git
synced 2026-03-09 01:40:53 -04:00
test: fix service overwrite in PartFileInRootUploadTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
f38d70404d
commit
ebbf74fded
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue