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 7f3057c commit 2d86f39Copy full SHA for 2d86f39
app/code/Magento/Multishipping/Test/Unit/Controller/Checkout/PluginTest.php
@@ -59,7 +59,10 @@ protected function setUp()
59
public function testExecuteTurnsOffMultishippingModeOnMultishippingQuote(): void
60
{
61
$subject = $this->createMock(Index::class);
62
- $extensionAttributes = $this->createMock(CartExtensionInterface::class);
+ $extensionAttributes = $this->createPartialMock(
63
+ CartExtensionInterface::class,
64
+ ['setShippingAssignments', 'getShippingAssignments']
65
+ );
66
$extensionAttributes->method('getShippingAssignments')
67
->willReturn(
68
$this->createMock(ShippingAssignmentInterface::class)
0 commit comments