Skip to content

Commit a46e4f2

Browse files
committed
ACP2E-279: Customer details are lost after editing an order.
1 parent 72e9696 commit a46e4f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Sales/Test/Unit/Model/AdminOrder/CreateTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*/
4545
class CreateTest extends TestCase
4646
{
47-
const CUSTOMER_ID = 1;
47+
private const CUSTOMER_ID = 1;
4848

4949
/**
5050
* @var Create
@@ -489,6 +489,9 @@ public function testInitFromOrder()
489489
$this->adminOrderCreate->initFromOrder($this->orderMock);
490490
}
491491

492+
/**
493+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
494+
*/
492495
public function testCreateOrder()
493496
{
494497
$method = $this->getMockBuilder(MethodInterface::class)

0 commit comments

Comments
 (0)