Skip to content

Commit 3c15bf6

Browse files
Merge branch '2.8' into 3.2
* 2.8: Refactored other PHPUnit method calls to work with namespaced PHPUnit 6 Further refactorings to PHPUnit namespaces resolve parameters in definition classes
2 parents 48e022b + 442ca77 commit 3c15bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Config/FileLocatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function testLocate()
3030
$kernel
3131
->expects($this->never())
3232
->method('locateResource');
33-
$this->setExpectedException('LogicException');
33+
$this->{method_exists($this, $_ = 'expectException') ? $_ : 'setExpectedException'}('LogicException');
3434
$locator->locate('/some/path');
3535
}
3636

0 commit comments

Comments
 (0)