Skip to content

Commit 2ab183c

Browse files
committed
ACP2E-894: added parametrized data fixtures
1 parent 03be48d commit 2ab183c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/code/Magento/Customer/Test/Fixture/Customer.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,23 @@ class Customer implements RevertibleDataFixtureInterface
5555
private const DEFAULT_DATA_ADDRESS = [
5656
AddressInterface::ID => null,
5757
AddressInterface::CUSTOMER_ID => null,
58-
AddressInterface::REGION => null,
59-
AddressInterface::REGION_ID => null,
60-
AddressInterface::COUNTRY_ID => null,
61-
AddressInterface::STREET => null,
58+
AddressInterface::REGION => 'Massachusetts',
59+
AddressInterface::REGION_ID => '32',
60+
AddressInterface::COUNTRY_ID => 'US',
61+
AddressInterface::STREET => '123 Test Street',
6262
AddressInterface::COMPANY => null,
63-
AddressInterface::TELEPHONE => null,
63+
AddressInterface::TELEPHONE => '1234567890',
6464
AddressInterface::FAX => null,
65-
AddressInterface::POSTCODE => null,
66-
AddressInterface::CITY => null,
65+
AddressInterface::POSTCODE => '02108',
66+
AddressInterface::CITY => 'Boston',
6767
AddressInterface::FIRSTNAME => 'Firstname %uniqid%',
6868
AddressInterface::LASTNAME => 'Lastname %uniqid%',
6969
AddressInterface::MIDDLENAME => null,
7070
AddressInterface::PREFIX => null,
7171
AddressInterface::SUFFIX => null,
7272
AddressInterface::VAT_ID => null,
73-
AddressInterface::DEFAULT_BILLING => null,
74-
AddressInterface::DEFAULT_SHIPPING => null
73+
AddressInterface::DEFAULT_BILLING => true,
74+
AddressInterface::DEFAULT_SHIPPING => true
7575
];
7676

7777
/**

0 commit comments

Comments
 (0)