compatibility with PHPUnit 6.x added

This commit is contained in:
Klimov Paul
2017-04-13 14:49:43 +03:00
parent 5d4a7a588d
commit dee88787fc
45 changed files with 181 additions and 115 deletions

View File

@@ -140,7 +140,8 @@ class RequestTest extends TestCase
public function testResolve($params, $expected, $expectedException = null)
{
if (isset($expectedException)) {
$this->setExpectedException($expectedException[0], $expectedException[1]);
$this->expectException($expectedException[0]);
$this->expectExceptionMessage($expectedException[1]);
}
$request = new Request();