Skip to content

Commit 54fe070

Browse files
committed
Small adjustments
1 parent e9939e0 commit 54fe070

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/code/Magento/Checkout/Test/Unit/Plugin/ResetQuoteAddressesTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)