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
3131 */
3232 private const STUB_ITEM_ID = 1 ;
3333
34+ /**
35+ * @var int
36+ */
37+ private const STUB_SHIPPING_ASSIGNMENTS = 1 ;
38+
3439 /**
3540 * @var array
3641 */
@@ -133,7 +138,7 @@ public function testClearingAddressesSuccessfullyFromEmptyQuoteWithAddress(
133138 if (!$ isVirtualQuote && $ extensionAttributes ) {
134139 $ this ->extensionAttributesMock ->expects ($ this ->any ())
135140 ->method ('getShippingAssignments ' )
136- ->willReturn ($ extensionAttributes );
141+ ->willReturn ([ static :: STUB_SHIPPING_ASSIGNMENTS ] );
137142
138143 $ this ->extensionAttributesMock ->expects ($ this ->once ())
139144 ->method ('setShippingAssignments ' )
You can’t perform that action at this time.
0 commit comments