diff options
Diffstat (limited to 'tests/lib/RepairTest.php')
-rw-r--r-- | tests/lib/RepairTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/RepairTest.php b/tests/lib/RepairTest.php index d968049c02c..f567aebf3c8 100644 --- a/tests/lib/RepairTest.php +++ b/tests/lib/RepairTest.php @@ -92,7 +92,7 @@ class RepairTest extends TestCase { $mock = $this->createMock(TestRepairStep::class); $mock->expects($this->any()) ->method('run') - ->will($this->throwException(new \Exception('Exception text'))); + ->willThrowException(new \Exception('Exception text')); $mock->expects($this->any()) ->method('getName') ->willReturn('Exception Test'); |