Skip to content

Commit 4e0c7cc

Browse files
committed
ACP2E-279: Customer details are lost after editing an order.
1 parent 389ce88 commit 4e0c7cc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/code/Magento/Sales/Model/AdminOrder/Create.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Create extends \Magento\Framework\DataObject implements \Magento\Checkout\
3333
/**
3434
* Xml default email domain path
3535
*/
36-
private const XML_PATH_DEFAULT_EMAIL_DOMAIN = 'customer/create_account/email_domain';
36+
public const XML_PATH_DEFAULT_EMAIL_DOMAIN = 'customer/create_account/email_domain';
3737

3838
private const XML_PATH_EMAIL_REQUIRED_CREATE_ORDER = 'customer/create_account/email_required_create_order';
3939
/**

dev/tests/integration/testsuite/Magento/Bundle/Model/Sales/AdminOrder/ReorderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function testReorderBundleProductWithCustomPrice(): void
8181
$customerMock->method('getEmail')
8282
->willReturn('[email protected]');
8383
$customerMock->method('_getExtensionAttributes')
84-
->willReturn(NULL);
84+
->willReturn(null);
8585
$this->model->getQuote()->setCustomer($customerMock);
8686

8787
$shippingMethod = 'freeshipping_freeshipping';

dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/Sales/AdminOrder/ReorderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function testReorderConfigurableProductWithCustomPrice(): void
8181
$customerMock->method('getEmail')
8282
->willReturn('[email protected]');
8383
$customerMock->method('_getExtensionAttributes')
84-
->willReturn(NULL);
84+
->willReturn(null);
8585
$this->model->getQuote()->setCustomer($customerMock);
8686

8787
$shippingMethod = 'freeshipping_freeshipping';

dev/tests/integration/testsuite/Magento/Sales/Model/AdminOrder/CreateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ private function getMockedCustomer()
978978
$customerMock->method('getEmail')
979979
->willReturn('[email protected]');
980980
$customerMock->method('_getExtensionAttributes')
981-
->willReturn(NULL);
981+
->willReturn(null);
982982

983983
return $customerMock;
984984
}

0 commit comments

Comments
 (0)