diff options
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Repair/RepairMimeTypesTest.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/Repair/RepairMimeTypesTest.php b/tests/lib/Repair/RepairMimeTypesTest.php index b7076b32e77..fbccd393fd0 100644 --- a/tests/lib/Repair/RepairMimeTypesTest.php +++ b/tests/lib/Repair/RepairMimeTypesTest.php @@ -39,10 +39,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([]); |