mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-25 00:17:15 +01:00
compatibility with PHPUnit 6.x added
This commit is contained in:
@@ -48,7 +48,7 @@ class RegularExpressionValidatorTest extends TestCase
|
||||
|
||||
public function testInitException()
|
||||
{
|
||||
$this->setExpectedException('yii\base\InvalidConfigException');
|
||||
$this->expectException('yii\base\InvalidConfigException');
|
||||
$val = new RegularExpressionValidator();
|
||||
$val->validate('abc');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user