Skip to content

Commit 13ed494

Browse files
MAGETWO-59900: Wrong order total after refresh in admin order create page
1 parent fe3792e commit 13ed494

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Totals.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ protected function _construct()
8484
*/
8585
public function getTotals()
8686
{
87-
$this->getQuote()->setTotalsCollectedFlag(false);
8887
$this->getQuote()->collectTotals();
8988
if ($this->getQuote()->isVirtual()) {
9089
$totals = $this->getQuote()->getBillingAddress()->getTotals();

app/code/Magento/Sales/Test/Unit/Block/Order/Create/TotalsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ protected function setUp()
8787
public function testGetTotals($isVirtual)
8888
{
8989
$expected = 'expected';
90-
$this->quoteMock->expects($this->at(0))->method('setTotalsCollectedFlag')->with(false);
9190
$this->quoteMock->expects($this->at(1))->method('collectTotals');
9291
$this->quoteMock->expects($this->once())->method('isVirtual')->willreturn($isVirtual);
9392
if ($isVirtual) {

0 commit comments

Comments
 (0)