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
72
72
{
73
73
$ this ->objectManager = Bootstrap::getObjectManager ();
74
74
$ this ->usage = $ this ->objectManager ->get (Usage::class);
75
- $ this ->couponUsage = $ this ->objectManager ->get (DataObject::class);
75
+ $ this ->couponUsage = $ this ->objectManager ->create (DataObject::class);
76
76
$ this ->quoteManagement = $ this ->objectManager ->get (QuoteManagement::class);
77
77
$ this ->orderService = $ this ->objectManager ->get (OrderService::class);
78
78
@@ -114,18 +114,15 @@ protected function tearDown(): void
114
114
*/
115
115
public function testSubmitQuoteAndCancelOrder ()
116
116
{
117
- $ this ->markTestSkipped ('MC-40450: ListProduct\SortingTest failure on 2.4-develop ' );
118
117
$ customerId = 1 ;
119
118
$ couponCode = 'one_usage ' ;
120
119
$ reservedOrderId = 'test01 ' ;
121
120
122
- $ this ->publisherConsumerController ->startConsumers ();
123
-
124
121
/** @var Coupon $coupon */
125
- $ coupon = $ this ->objectManager ->get (Coupon::class);
122
+ $ coupon = $ this ->objectManager ->create (Coupon::class);
126
123
$ coupon ->loadByCode ($ couponCode );
127
124
/** @var Quote $quote */
128
- $ quote = $ this ->objectManager ->get (Quote::class);
125
+ $ quote = $ this ->objectManager ->create (Quote::class);
129
126
$ quote ->load ($ reservedOrderId , 'reserved_order_id ' );
130
127
131
128
// Make sure coupon usages value is incremented then order is placed.
You can’t perform that action at this time.
0 commit comments