aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Repair/RepairMimeTypesTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/Repair/RepairMimeTypesTest.php b/tests/lib/Repair/RepairMimeTypesTest.php
index 61cf5858241..a5f0c7f5dd3 100644
--- a/tests/lib/Repair/RepairMimeTypesTest.php
+++ b/tests/lib/Repair/RepairMimeTypesTest.php
@@ -41,10 +41,12 @@ class RepairMimeTypesTest extends \Test\TestCase {
$config = $this->getMockBuilder(IConfig::class)
->disableOriginalConstructor()
->getMock();
- $config->expects($this->any())
- ->method('getSystemValueString')
+ $config->method('getSystemValueString')
->with('version')
->willReturn('11.0.0.0');
+ $config->method('getAppValue')
+ ->with('files', 'mimetype_version')
+ ->willReturn('11.0.0.0');
$this->storage = new \OC\Files\Storage\Temporary([]);