Skip to content

Commit 468e1a7

Browse files
committed
Merge remote-tracking branch 'origin/MC-40450' into 2.4-develop-pr144
2 parents b1031f1 + c4a94a1 commit 468e1a7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

dev/tests/integration/testsuite/Magento/SalesRule/Plugin/CouponUsagesTest.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function setUp(): void
7272
{
7373
$this->objectManager = Bootstrap::getObjectManager();
7474
$this->usage = $this->objectManager->get(Usage::class);
75-
$this->couponUsage = $this->objectManager->get(DataObject::class);
75+
$this->couponUsage = $this->objectManager->create(DataObject::class);
7676
$this->quoteManagement = $this->objectManager->get(QuoteManagement::class);
7777
$this->orderService = $this->objectManager->get(OrderService::class);
7878

@@ -114,18 +114,15 @@ protected function tearDown(): void
114114
*/
115115
public function testSubmitQuoteAndCancelOrder()
116116
{
117-
$this->markTestSkipped('MC-40450: ListProduct\SortingTest failure on 2.4-develop');
118117
$customerId = 1;
119118
$couponCode = 'one_usage';
120119
$reservedOrderId = 'test01';
121120

122-
$this->publisherConsumerController->startConsumers();
123-
124121
/** @var Coupon $coupon */
125-
$coupon = $this->objectManager->get(Coupon::class);
122+
$coupon = $this->objectManager->create(Coupon::class);
126123
$coupon->loadByCode($couponCode);
127124
/** @var Quote $quote */
128-
$quote = $this->objectManager->get(Quote::class);
125+
$quote = $this->objectManager->create(Quote::class);
129126
$quote->load($reservedOrderId, 'reserved_order_id');
130127

131128
// Make sure coupon usages value is incremented then order is placed.

0 commit comments

Comments
 (0)