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