File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ public function validateAddresses(QuoteEntity $quote)
163
163
$ customerAddress ->setPostcode ($ billingAddress ->getPostcode ());
164
164
$ customerAddress ->setTelephone ($ billingAddress ->getTelephone ());
165
165
$ customerAddress ->setCountryId ($ billingAddress ->getCountryId ());
166
+ $ customerAddress ->setCustomAttributes ($ billingAddress ->getCustomAttributes ());
166
167
$ addresses [] = $ customerAddress ;
167
168
}
168
169
if ($ quote ->getShippingAddress ()->getCustomerAddressId ()) {
Original file line number Diff line number Diff line change @@ -268,6 +268,7 @@ public function testValidateAddressesNotSavedInAddressBook()
268
268
{
269
269
$ this ->expectException (ValidatorException::class);
270
270
$ this ->quoteAddressMock ->method ('getStreet ' )->willReturn (['test ' ]);
271
+ $ this ->quoteAddressMock ->method ('getCustomAttributes ' )->willReturn (['test ' ]);
271
272
$ this ->customerAddressFactoryMock ->method ('create ' )
272
273
->willReturn ($ this ->customerAddressMock );
273
274
$ addressMock = $ this ->getMockBuilder (Address::class)
You can’t perform that action at this time.
0 commit comments