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 ed54a54 commit 782a8baCopy full SHA for 782a8ba
app/code/Magento/Checkout/Test/Unit/Model/TotalsInformationManagementTest.php
@@ -135,6 +135,7 @@ public function testResetShippingAmount()
135
'getShippingMethod',
136
'setShippingAmount',
137
'setBaseShippingAmount',
138
+ 'save'
139
]
140
)
141
->disableOriginalConstructor()
@@ -166,6 +167,9 @@ public function testResetShippingAmount()
166
167
$addressMock->expects($this->once())
168
->method('setShippingMethod')
169
->with($carrierCode . '_' . $carrierMethod);
170
+ $addressMock->expects($this->once())
171
+ ->method('save')
172
+ ->willReturnSelf();
173
$cartMock->expects($this->once())
174
->method('collectTotals');
175
0 commit comments