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

@@ -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');
}