We need to test that the promotions works with Cart API.

Comments

vasike created an issue. See original summary.

vasike’s picture

Status: Active » Needs review

Indeed, as Bojan reported the test will fail with current Promotion.
because of NULL order total price.

There is a PR for PromotionCartTest with a fix for the current fail
https://github.com/drupalcommerce/commerce/pull/710

bojanz’s picture

Title: Create promotions test for cart » Don't run order processors if the order has no items
Assigned: vasike » Unassigned
Category: Task » Bug report

  • bojanz committed 005e904 on 8.x-2.x authored by vasike
    Issue #2867046 by vasike, bojanz: Don't run order processors if the...
bojanz’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.