Commit f974e1a5 by Carsten Brandt

fixed validator test break

parent 598d0128
<?php <?php
namespace yiiunit\data\ar; namespace yiiunit\data\ar;
use yii\db\ActiveQuery;
/** /**
* Class Customer * Class Customer
* *
......
...@@ -3,7 +3,7 @@ ...@@ -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 @@ ...@@ -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; ...@@ -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; ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment