Browse Source

fixed validator test break

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
f974e1a59f
  1. 2
      tests/unit/data/ar/Customer.php
  2. 2
      tests/unit/data/validators/models/ValidatorTestMainModel.php
  3. 2
      tests/unit/data/validators/models/ValidatorTestRefModel.php
  4. 1
      tests/unit/framework/validators/ExistValidatorTest.php
  5. 1
      tests/unit/framework/validators/UniqueValidatorTest.php

2
tests/unit/data/ar/Customer.php

@ -1,8 +1,6 @@
<?php
namespace yiiunit\data\ar;
use yii\db\ActiveQuery;
/**
* Class Customer
*

2
tests/unit/data/validators/models/ValidatorTestMainModel.php

@ -3,7 +3,7 @@
namespace yiiunit\data\validators\models;
use yii\db\ActiveRecord;
use yiiunit\data\ar\ActiveRecord;
class ValidatorTestMainModel extends ActiveRecord
{

2
tests/unit/data/validators/models/ValidatorTestRefModel.php

@ -3,7 +3,7 @@
namespace yiiunit\data\validators\models;
use yii\db\ActiveRecord;
use yiiunit\data\ar\ActiveRecord;
class ValidatorTestRefModel extends ActiveRecord
{

1
tests/unit/framework/validators/ExistValidatorTest.php

@ -13,7 +13,6 @@ use yiiunit\framework\db\DatabaseTestCase;
class ExistValidatorTest extends DatabaseTestCase
{
protected $initializeAppWithDb = true;
protected $driverName = 'mysql';
public function setUp()

1
tests/unit/framework/validators/UniqueValidatorTest.php

@ -14,7 +14,6 @@ use yiiunit\TestCase;
class UniqueValidatorTest extends DatabaseTestCase
{
protected $initializeAppWithDb = true;
protected $driverName = 'mysql';
public function setUp()

Loading…
Cancel
Save