add tests batch 20
This commit is contained in:
@@ -13,7 +13,7 @@ class RegistrationFormatterServiceTest extends TestCase
|
||||
|
||||
public function test_format_normalizes_parent_fields(): void
|
||||
{
|
||||
$formatter = new RegistrationFormatterService(new PhoneFormatterService);
|
||||
$formatter = new RegistrationFormatterService(new PhoneFormatterService());
|
||||
|
||||
$result = $formatter->format([
|
||||
'firstname' => 'john',
|
||||
@@ -41,7 +41,7 @@ class RegistrationFormatterServiceTest extends TestCase
|
||||
|
||||
public function test_format_includes_second_parent_when_present(): void
|
||||
{
|
||||
$formatter = new RegistrationFormatterService(new PhoneFormatterService);
|
||||
$formatter = new RegistrationFormatterService(new PhoneFormatterService());
|
||||
|
||||
$result = $formatter->format([
|
||||
'firstname' => 'john',
|
||||
|
||||
Reference in New Issue
Block a user