mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 02:13:17 +08:00
Unit test for yii\mongodb\file\ActiveRecord fixed
This commit is contained in:
@ -2,8 +2,6 @@
|
||||
|
||||
namespace yiiunit\data\ar\mongodb\file;
|
||||
|
||||
use yiiunit\data\ar\mongodb\CustomerQuery;
|
||||
|
||||
class CustomerFile extends ActiveRecord
|
||||
{
|
||||
public static function collectionName()
|
||||
@ -24,6 +22,6 @@ class CustomerFile extends ActiveRecord
|
||||
|
||||
public static function createQuery()
|
||||
{
|
||||
return new CustomerQuery(['modelClass' => get_called_class()]);
|
||||
return new CustomerFileQuery(['modelClass' => get_called_class()]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user