]> 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)
committerRobin Appelman <robin@icewind.nl>
Thu, 19 Sep 2024 11:59:08 +0000 (13:59 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php

index 200008bcfce147e8633070a6ae3a6c78b83afe0e..11a44f26942cbbbe5e042fe665689a4d727b7fa5 100644 (file)
@@ -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();
        }