Skip to content

Commit 1d54cc8

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-37070' into MAGETWO-32004
2 parents fd8586e + 22714bd commit 1d54cc8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/Quote/Model/QuoteManagement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ protected function submitQuote(QuoteEntity $quote, $orderData = [])
349349
$this->customerManagement->populateCustomerInfo($quote);
350350
}
351351
$addresses = [];
352+
$quote->reserveOrderId();
352353
if ($quote->isVirtual()) {
353354
$this->dataObjectHelper->mergeDataObjects(
354355
'\Magento\Sales\Api\Data\OrderInterface',

app/code/Magento/Quote/Test/Unit/Model/QuoteManagementTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,8 @@ protected function getQuote(
651651
'getId',
652652
'getCustomer',
653653
'getAllItems',
654-
'getPayment'
654+
'getPayment',
655+
'reserveOrderId'
655656
],
656657
[],
657658
'',

0 commit comments

Comments
 (0)