File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
dev/tests/integration/testsuite/Magento/SalesRule/Plugin Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments