Commit 6659919a by Qiang Xue

Fixed test break.

parent 49010df1
...@@ -154,11 +154,12 @@ trait ActiveRecordTestTrait ...@@ -154,11 +154,12 @@ trait ActiveRecordTestTrait
// asArray // asArray
$customer = $this->callCustomerFind()->where(['id' => 2])->asArray()->one(); $customer = $this->callCustomerFind()->where(['id' => 2])->asArray()->one();
$this->assertEquals([ $this->assertEquals([
'id' => '2', 'id' => 2,
'email' => 'user2@example.com', 'email' => 'user2@example.com',
'name' => 'user2', 'name' => 'user2',
'address' => 'address2', 'address' => 'address2',
'status' => '1', 'status' => 1,
'profile_id' => null,
], $customer); ], $customer);
} }
......
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