mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-19 05:37:54 +01:00
compatibility with PHPUnit 6.x added
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user