Skip to content

Commit 0311903

Browse files
committed
Init
1 parent 300ec20 commit 0311903

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ArrayTransformerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public function testToArraysWithStrings(): void
335335

336336
$transformer->map('id', 'id', 'integer')
337337
->map('first_name', 'first_name', 'string')
338-
->map('last_name', 'last_name', 'string|required')
338+
->map('last_name', 'last_name', 'string-with-blank|required')
339339
->map('phone', 'phone', 'string')
340340
->map('enabled', 'enabled', 'boolean');
341341

@@ -363,7 +363,7 @@ public function testToArraysWithStrings(): void
363363
[
364364
'id' => 100,
365365
'first_name' => 'Sally',
366-
'last_name' => null,
366+
'last_name' => '',
367367
'enabled' => true,
368368
],
369369
[

0 commit comments

Comments
 (0)