File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Quote Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,6 @@ public function testCartPromotionsMultipleCartRules()
198
198
* @magentoApiDataFixture Magento/GraphQl/Tax/_files/tax_rule_for_region_1.php
199
199
* @magentoApiDataFixture Magento/GraphQl/Tax/_files/tax_calculation_price_and_cart_display_settings.php
200
200
* @magentoApiDataFixture Magento/SalesRule/_files/rules_category.php
201
- *
202
201
*/
203
202
public function testCartPromotionsSingleCartRulesWithTaxes ()
204
203
{
@@ -269,6 +268,8 @@ public function testCartPromotionsSingleCartRulesWithTaxes()
269
268
]
270
269
);
271
270
}
271
+ // checking the total discount on the entire cart
272
+ $ this ->assertEquals ($ response ['cart ' ]['prices ' ]['discounts ' ][0 ]['amount ' ]['value ' ], 11.82 );
272
273
}
273
274
274
275
/**
@@ -331,6 +332,7 @@ public function testCartPromotionsWithCoupons()
331
332
]
332
333
);
333
334
}
335
+ $ this ->assertEquals ($ response ['cart ' ]['prices ' ]['discounts ' ][0 ]['amount ' ]['value ' ], 5 );
334
336
}
335
337
336
338
/**
You can’t perform that action at this time.
0 commit comments