Skip to content

Commit ce3b656

Browse files
SamMousasamdark
authored andcommitted
Use andWhere instead of where in Yii module's findRecord()
Use `andWhere` instead of `where` See yiisoft/yii2#14757
1 parent 0f2bc10 commit ce3b656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Yii2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ protected function findRecord($model, $attributes = [])
477477
{
478478
$this->getModelRecord($model);
479479
return call_user_func([$model, 'find'])
480-
->where($attributes)
480+
->andWhere($attributes)
481481
->one();
482482
}
483483

0 commit comments

Comments
 (0)