Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Jan 27, 2021
1 parent 300ec20 commit 0311903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ArrayTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public function testToArraysWithStrings(): void

$transformer->map('id', 'id', 'integer')
->map('first_name', 'first_name', 'string')
->map('last_name', 'last_name', 'string|required')
->map('last_name', 'last_name', 'string-with-blank|required')
->map('phone', 'phone', 'string')
->map('enabled', 'enabled', 'boolean');

Expand Down Expand Up @@ -363,7 +363,7 @@ public function testToArraysWithStrings(): void
[
'id' => 100,
'first_name' => 'Sally',
'last_name' => null,
'last_name' => '',
'enabled' => true,
],
[
Expand Down

0 comments on commit 0311903

Please sign in to comment.