summaryrefslogtreecommitdiffstats
path: root/tests/lib/Repair/RepairInvalidSharesTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Repair/RepairInvalidSharesTest.php')
-rw-r--r--tests/lib/Repair/RepairInvalidSharesTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Repair/RepairInvalidSharesTest.php b/tests/lib/Repair/RepairInvalidSharesTest.php
index 1baaf89e0a0..ed25a81ca1f 100644
--- a/tests/lib/Repair/RepairInvalidSharesTest.php
+++ b/tests/lib/Repair/RepairInvalidSharesTest.php
@@ -40,7 +40,7 @@ class RepairInvalidSharesTest extends TestCase {
$config->expects($this->any())
->method('getSystemValue')
->with('version')
- ->will($this->returnValue('12.0.0.0'));
+ ->willReturn('12.0.0.0');
$this->connection = \OC::$server->getDatabaseConnection();
$this->deleteAllShares();