We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6ebe4e commit af6491dCopy full SHA for af6491d
app/code/Magento/Quote/Test/Unit/Model/Quote/Item/UpdaterTest.php
@@ -67,7 +67,7 @@ protected function setUp()
67
'addOption',
68
'setCustomPrice',
69
'setOriginalCustomPrice',
70
- 'unsetData',
+ 'setData',
71
'hasData',
72
'setIsQtyDecimal'
73
]);
@@ -353,7 +353,11 @@ public function testUpdateUnsetCustomPrice()
353
->will($this->returnValue($buyRequestMock));
354
355
$this->itemMock->expects($this->exactly(2))
356
- ->method('unsetData');
+ ->method('setData')
357
+ ->withConsecutive(
358
+ ['custom_price', null],
359
+ ['original_custom_price', null]
360
+ );
361
362
$this->itemMock->expects($this->once())
363
->method('hasData')
0 commit comments