File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
app/code/Magento/Checkout/Test/Unit/Plugin Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ class ResetQuoteAddressesTest extends TestCase
31
31
*/
32
32
private const STUB_ITEM_ID = 1 ;
33
33
34
+ /**
35
+ * @var int
36
+ */
37
+ private const STUB_SHIPPING_ASSIGNMENTS = 1 ;
38
+
34
39
/**
35
40
* @var array
36
41
*/
@@ -133,7 +138,7 @@ public function testClearingAddressesSuccessfullyFromEmptyQuoteWithAddress(
133
138
if (!$ isVirtualQuote && $ extensionAttributes ) {
134
139
$ this ->extensionAttributesMock ->expects ($ this ->any ())
135
140
->method ('getShippingAssignments ' )
136
- ->willReturn ($ extensionAttributes );
141
+ ->willReturn ([ static :: STUB_SHIPPING_ASSIGNMENTS ] );
137
142
138
143
$ this ->extensionAttributesMock ->expects ($ this ->once ())
139
144
->method ('setShippingAssignments ' )
You can’t perform that action at this time.
0 commit comments