Commit 789f0285 by Carsten Brandt

adjusted sphinx tests to AR changes

parent 16239c23
...@@ -20,12 +20,12 @@ class ArticleIndex extends ActiveRecord ...@@ -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()
......
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