Browse Source

adjusted sphinx tests to AR changes

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
789f0285b8
  1. 4
      tests/unit/data/sphinx/ar/ArticleIndex.php

4
tests/unit/data/sphinx/ar/ArticleIndex.php

@ -20,12 +20,12 @@ class ArticleIndex extends ActiveRecord
public function getSource() public function getSource()
{ {
return $this->hasOne('db', ArticleDb::className(), ['id' => 'id']); return $this->hasOne(ArticleDb::className(), ['id' => 'id']);
} }
public function getTags() public function getTags()
{ {
return $this->hasMany('db', TagDb::className(), ['id' => 'tag']); return $this->hasMany(TagDb::className(), ['id' => 'tag']);
} }
public function getSnippetSource() public function getSnippetSource()

Loading…
Cancel
Save