Skip to content

Commit 439ea91

Browse files
committed
AC-3486::Fixed static test failures for QuoteManagementTest.php
1 parent dca2559 commit 439ea91

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dev/tests/integration/testsuite/Magento/Quote/Model/QuoteManagementTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ public function testSubmitWithDeletedItem(): void
197197
$this->cartManagement->placeOrder($quote->getId());
198198
}
199199

200-
201200
/**
202201
* Tries to create order with product that has child items and one of them
203202
* was deleted when item data check is disabled on quote load.
@@ -238,7 +237,11 @@ public function testSubmitWithItemOutOfStockWithDisabledInventoryCheck(): void
238237
{
239238
$this->makeProductOutOfStock('simple');
240239
$quote = $this->getQuoteByReservedOrderId->execute('test01');
241-
$this->expectExceptionObject(new LocalizedException(__('The shipping method is missing. Select the shipping method and try again.')));
240+
$this->expectExceptionObject(
241+
new LocalizedException(
242+
__('The shipping method is missing. Select the shipping method and try again.')
243+
)
244+
);
242245
$this->cartManagement->placeOrder($quote->getId());
243246
}
244247

0 commit comments

Comments
 (0)