]> source.dussan.org Git - nextcloud-server.git/commitdiff
test: fix service overwrite in PartFileInRootUploadTest
authorRobin Appelman <robin@icewind.nl>
Wed, 18 Sep 2024 12:48:20 +0000 (14:48 +0200)
committerLouis <louis@chmn.me>
Tue, 8 Oct 2024 16:14:26 +0000 (18:14 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php

index 88ec848ad89551f5a1da839ce54735e0257c91cf..d86525f16c41ad4d19df50e621f9987ae946d6d9 100644 (file)
@@ -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();
        }