@@ -84,7 +84,6 @@ protected function setUp(): void
8484
8585 /**
8686 * @magentoAppIsolation enabled
87- * @covers Rule::calcProductPriceRule
8887 */
8988 public function testCalcProductPriceRule ()
9089 {
@@ -145,7 +144,6 @@ protected function _getCatalogRulesFixtures()
145144 DataFixture(
146145 AddProductToCartFixture::class,
147146 ['cart_id ' => '$cart.id$ ' , 'product_id ' => '$product.id$ ' , 'qty ' => 1 ]
148-
149147 ),
150148 DataFixture(ScheduleMode::class, ['indexer ' => ProductPriceIndexerProcessor::INDEXER_ID ]),
151149 DataFixture(ScheduleMode::class, ['indexer ' => RuleProductProcessor::INDEXER_ID ])
@@ -177,9 +175,8 @@ public function testChangeInCatalogPriceRuleUpdatesTheQuote()
177175 $ updatedCartRepo = $ this ->objectManager ->create (CartRepositoryInterface::class);
178176 $ updatedCartDetails = $ updatedCartRepo ->get ($ cart ->getId ());
179177
180- $ updatedCartDetails ->collectTotals ()->save ();
181178 $ updatedItems = $ updatedCartDetails ->getAllItems ();
182- //verify that the cart item price is updated after the catalog rule change
179+
183180 $ this ->assertCount (1 , $ updatedItems );
184181 $ this ->assertEquals ($ updatedItems [0 ]->getProduct ()->getId (), $ product ->getId ());
185182 $ this ->assertEquals ((float ) $ updatedItems [0 ]->getPrice (), 50.00 );
0 commit comments