mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
fixed failing validator tests
This commit is contained in:
@ -8,6 +8,12 @@ use yiiunit\TestCase;
|
||||
*/
|
||||
class DefaultValueValidatorTest extends TestCase
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->mockApplication();
|
||||
}
|
||||
|
||||
public function testValidateAttribute()
|
||||
{
|
||||
$val = new DefaultValueValidator;
|
||||
|
Reference in New Issue
Block a user