summaryrefslogtreecommitdiffstats
path: root/tests/lib/RepairStepTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/RepairStepTest.php')
-rw-r--r--tests/lib/RepairStepTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/RepairStepTest.php b/tests/lib/RepairStepTest.php
index 433a161e8fa..bc1671d9178 100644
--- a/tests/lib/RepairStepTest.php
+++ b/tests/lib/RepairStepTest.php
@@ -93,7 +93,7 @@ class RepairTest extends TestCase {
->will($this->throwException(new \Exception()));
$mock->expects($this->any())
->method('getName')
- ->will($this->returnValue('Exception Test'));
+ ->willReturn('Exception Test');
$this->repair->addStep($mock);
$this->repair->addStep(new TestRepairStep(false));