-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement the interface ArrayableInterface for BaseActiveRecord
- Loading branch information
1 parent
b64dde5
commit 0f680fe
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -785,8 +785,8 @@ public function testToArrayForArrayable(): void | |
$this->assertSame( | ||
[ | ||
'id' => 1, | ||
'email' => '[email protected]', | ||
'name' => 'user1', | ||
'email' => '[email protected]', | ||
'address' => 'address1', | ||
'status' => 'active', | ||
'item' => [ | ||
|
@@ -798,8 +798,8 @@ public function testToArrayForArrayable(): void | |
'items' => [ | ||
[ | ||
'id' => 3, | ||
'email' => '[email protected]', | ||
'name' => 'user3', | ||
'email' => '[email protected]', | ||
'status' => 'inactive', | ||
], | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,8 +188,8 @@ public function testToArrayForArrayable(): void | |
$this->assertSame( | ||
[ | ||
'id' => 1, | ||
'email' => '[email protected]', | ||
'name' => 'user1', | ||
'email' => '[email protected]', | ||
'address' => 'address1', | ||
'status' => 'active', | ||
'item' => [ | ||
|
@@ -201,8 +201,8 @@ public function testToArrayForArrayable(): void | |
'items' => [ | ||
[ | ||
'id' => 3, | ||
'email' => '[email protected]', | ||
'name' => 'user3', | ||
'email' => '[email protected]', | ||
'status' => 'inactive', | ||
], | ||
] | ||
|