Skip to content

Commit f02949a

Browse files
author
Vladyslav Shcherbyna
committed
MAGETWO-31896: Changes are not saved when default billing/shipping address is unchecked in customer addresses
1 parent b99d64d commit f02949a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dev/tests/integration/testsuite/Magento/Customer/Model/Resource/CustomerRepositoryTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ public function testUpdateCustomer($defaultBilling, $defaultShipping)
147147
$this->assertEquals($lastName, $customerAfter->getLastname());
148148
$this->assertEquals($defaultBilling, $customerAfter->getDefaultBilling());
149149
$this->assertEquals($defaultShipping, $customerAfter->getDefaultShipping());
150-
$this->expectedDefaultShippingsInCustomerModelAttributes($existingCustomerId, $defaultBilling, $defaultShipping);
150+
$this->expectedDefaultShippingsInCustomerModelAttributes(
151+
$existingCustomerId,
152+
$defaultBilling,
153+
$defaultShipping
154+
);
151155
$this->assertEquals('Admin', $customerAfter->getCreatedIn());
152156
$passwordFromFixture = 'password';
153157
$this->accountManagement->authenticate($customerAfter->getEmail(), $passwordFromFixture);

0 commit comments

Comments
 (0)