Commit 504fc76f by Klimov Paul

Unit test for yii\mongodb\file\ActiveRecord fixed

parent 28986f98
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
namespace yiiunit\data\ar\mongodb\file; namespace yiiunit\data\ar\mongodb\file;
use yiiunit\data\ar\mongodb\CustomerQuery;
class CustomerFile extends ActiveRecord class CustomerFile extends ActiveRecord
{ {
public static function collectionName() public static function collectionName()
...@@ -24,6 +22,6 @@ class CustomerFile extends ActiveRecord ...@@ -24,6 +22,6 @@ class CustomerFile extends ActiveRecord
public static function createQuery() public static function createQuery()
{ {
return new CustomerQuery(['modelClass' => get_called_class()]); return new CustomerFileQuery(['modelClass' => get_called_class()]);
} }
} }
\ No newline at end of file
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