Commit 9c375d65 by Qiang Xue

Fixed test break.

parent d9f897ca
...@@ -42,7 +42,7 @@ class Customer extends ActiveRecord ...@@ -42,7 +42,7 @@ class Customer extends ActiveRecord
public function getExpensiveOrdersWithNullFK() public function getExpensiveOrdersWithNullFK()
{ {
return $this->hasMany(Order::className(), ['customer_id' => 'id'])->filter(['range' => ['total' => ['gte' => 50]]])->orderBy('id'); return $this->hasMany(OrderWithNullFK::className(), ['customer_id' => 'id'])->filter(['range' => ['total' => ['gte' => 50]]])->orderBy('id');
} }
public function getOrdersWithNullFK() public function getOrdersWithNullFK()
......
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