mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-18 17:21:26 +08:00
fixed validator test break
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
namespace yiiunit\data\ar;
|
||||
|
||||
use yii\db\ActiveQuery;
|
||||
|
||||
/**
|
||||
* Class Customer
|
||||
*
|
||||
|
@ -3,7 +3,7 @@
|
||||
namespace yiiunit\data\validators\models;
|
||||
|
||||
|
||||
use yii\db\ActiveRecord;
|
||||
use yiiunit\data\ar\ActiveRecord;
|
||||
|
||||
class ValidatorTestMainModel extends ActiveRecord
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
namespace yiiunit\data\validators\models;
|
||||
|
||||
|
||||
use yii\db\ActiveRecord;
|
||||
use yiiunit\data\ar\ActiveRecord;
|
||||
|
||||
class ValidatorTestRefModel extends ActiveRecord
|
||||
{
|
||||
|
@ -13,7 +13,6 @@ use yiiunit\framework\db\DatabaseTestCase;
|
||||
|
||||
class ExistValidatorTest extends DatabaseTestCase
|
||||
{
|
||||
protected $initializeAppWithDb = true;
|
||||
protected $driverName = 'mysql';
|
||||
|
||||
public function setUp()
|
||||
|
@ -14,7 +14,6 @@ use yiiunit\TestCase;
|
||||
|
||||
class UniqueValidatorTest extends DatabaseTestCase
|
||||
{
|
||||
protected $initializeAppWithDb = true;
|
||||
protected $driverName = 'mysql';
|
||||
|
||||
public function setUp()
|
||||
|
Reference in New Issue
Block a user