Commit 636042b9 by Qiang Xue

Fixed test break.

parent 39667aa6
......@@ -411,7 +411,8 @@ class ActiveRecordTest extends DatabaseTestCase
$this->assertEquals(1, $customer->id);
$order = Order::find()->joinWith([
'items' => function ($q) {
$q->from(['items' => 'tbl_item']);
$q->from(['items' => 'tbl_item'])
->orderBy('items.id');
},
])->orderBy('tbl_order.id')->one();
}
......
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