From 789f0285b8bea53577b00cfa2ab3a15d067ecc74 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 27 Nov 2013 23:03:33 +0100 Subject: [PATCH] adjusted sphinx tests to AR changes --- tests/unit/data/sphinx/ar/ArticleIndex.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/data/sphinx/ar/ArticleIndex.php b/tests/unit/data/sphinx/ar/ArticleIndex.php index 767fdea..757f6be 100644 --- a/tests/unit/data/sphinx/ar/ArticleIndex.php +++ b/tests/unit/data/sphinx/ar/ArticleIndex.php @@ -20,12 +20,12 @@ class ArticleIndex extends ActiveRecord public function getSource() { - return $this->hasOne('db', ArticleDb::className(), ['id' => 'id']); + return $this->hasOne(ArticleDb::className(), ['id' => 'id']); } public function getTags() { - return $this->hasMany('db', TagDb::className(), ['id' => 'tag']); + return $this->hasMany(TagDb::className(), ['id' => 'tag']); } public function getSnippetSource()