Browse Source

Sphinx test AR classes moved to 'data/ar/sphinx'.

tags/2.0.0-beta
Paul Klimov 11 years ago
parent
commit
750c6275c0
  1. 2
      tests/unit/data/ar/sphinx/ActiveRecord.php
  2. 2
      tests/unit/data/ar/sphinx/ArticleDb.php
  3. 2
      tests/unit/data/ar/sphinx/ArticleIndex.php
  4. 2
      tests/unit/data/ar/sphinx/ItemDb.php
  5. 2
      tests/unit/data/ar/sphinx/ItemIndex.php
  6. 2
      tests/unit/data/ar/sphinx/RuntimeIndex.php
  7. 2
      tests/unit/data/ar/sphinx/TagDb.php
  8. 4
      tests/unit/extensions/sphinx/ActiveDataProviderTest.php
  9. 6
      tests/unit/extensions/sphinx/ActiveRecordTest.php
  10. 6
      tests/unit/extensions/sphinx/ActiveRelationTest.php
  11. 8
      tests/unit/extensions/sphinx/ExternalActiveRelationTest.php

2
tests/unit/data/sphinx/ar/ActiveRecord.php → tests/unit/data/ar/sphinx/ActiveRecord.php

@ -1,6 +1,6 @@
<?php
namespace yiiunit\data\sphinx\ar;
namespace yiiunit\data\ar\sphinx;
/**
* Test Sphinx ActiveRecord class

2
tests/unit/data/sphinx/ar/ArticleDb.php → tests/unit/data/ar/sphinx/ArticleDb.php

@ -1,6 +1,6 @@
<?php
namespace yiiunit\data\sphinx\ar;
namespace yiiunit\data\ar\sphinx;
use yii\sphinx\ActiveRelation;
use yiiunit\data\ar\ActiveRecord as ActiveRecordDb;

2
tests/unit/data/sphinx/ar/ArticleIndex.php → tests/unit/data/ar/sphinx/ArticleIndex.php

@ -1,6 +1,6 @@
<?php
namespace yiiunit\data\sphinx\ar;
namespace yiiunit\data\ar\sphinx;
use yii\db\ActiveRelation;

2
tests/unit/data/sphinx/ar/ItemDb.php → tests/unit/data/ar/sphinx/ItemDb.php

@ -1,6 +1,6 @@
<?php
namespace yiiunit\data\sphinx\ar;
namespace yiiunit\data\ar\sphinx;
use yiiunit\data\ar\ActiveRecord as ActiveRecordDb;

2
tests/unit/data/sphinx/ar/ItemIndex.php → tests/unit/data/ar/sphinx/ItemIndex.php

@ -1,6 +1,6 @@
<?php
namespace yiiunit\data\sphinx\ar;
namespace yiiunit\data\ar\sphinx;
class ItemIndex extends ActiveRecord
{

2
tests/unit/data/sphinx/ar/RuntimeIndex.php → tests/unit/data/ar/sphinx/RuntimeIndex.php

@ -1,6 +1,6 @@
<?php
namespace yiiunit\data\sphinx\ar;
namespace yiiunit\data\ar\sphinx;
class RuntimeIndex extends ActiveRecord
{

2
tests/unit/data/sphinx/ar/TagDb.php → tests/unit/data/ar/sphinx/TagDb.php

@ -1,5 +1,5 @@
<?php
namespace yiiunit\data\sphinx\ar;
namespace yiiunit\data\ar\sphinx;
use yiiunit\data\ar\ActiveRecord as ActiveRecordDb;

4
tests/unit/extensions/sphinx/ActiveDataProviderTest.php

@ -4,8 +4,8 @@ namespace yiiunit\extensions\sphinx;
use yii\data\ActiveDataProvider;
use yii\sphinx\Query;
use yiiunit\data\sphinx\ar\ActiveRecord;
use yiiunit\data\sphinx\ar\ArticleIndex;
use yiiunit\data\ar\sphinx\ActiveRecord;
use yiiunit\data\ar\sphinx\ArticleIndex;
/**
* @group sphinx

6
tests/unit/extensions/sphinx/ActiveRecordTest.php

@ -3,9 +3,9 @@
namespace yiiunit\extensions\sphinx;
use yii\sphinx\ActiveQuery;
use yiiunit\data\sphinx\ar\ActiveRecord;
use yiiunit\data\sphinx\ar\ArticleIndex;
use yiiunit\data\sphinx\ar\RuntimeIndex;
use yiiunit\data\ar\sphinx\ActiveRecord;
use yiiunit\data\ar\sphinx\ArticleIndex;
use yiiunit\data\ar\sphinx\RuntimeIndex;
/**
* @group sphinx

6
tests/unit/extensions/sphinx/ActiveRelationTest.php

@ -2,10 +2,10 @@
namespace yiiunit\extensions\sphinx;
use yiiunit\data\sphinx\ar\ActiveRecord;
use yiiunit\data\ar\sphinx\ActiveRecord;
use yiiunit\data\ar\ActiveRecord as ActiveRecordDb;
use yiiunit\data\sphinx\ar\ArticleIndex;
use yiiunit\data\sphinx\ar\ArticleDb;
use yiiunit\data\ar\sphinx\ArticleIndex;
use yiiunit\data\ar\sphinx\ArticleDb;
/**
* @group sphinx

8
tests/unit/extensions/sphinx/ExternalActiveRelationTest.php

@ -2,11 +2,11 @@
namespace yiiunit\extensions\sphinx;
use yiiunit\data\sphinx\ar\ActiveRecord;
use yiiunit\data\ar\sphinx\ActiveRecord;
use yiiunit\data\ar\ActiveRecord as ActiveRecordDb;
use yiiunit\data\sphinx\ar\ArticleIndex;
use yiiunit\data\sphinx\ar\ArticleDb;
use yiiunit\data\sphinx\ar\TagDb;
use yiiunit\data\ar\sphinx\ArticleIndex;
use yiiunit\data\ar\sphinx\ArticleDb;
use yiiunit\data\ar\sphinx\TagDb;
/**
* @group sphinx

Loading…
Cancel
Save