Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The functional PromotionTest is currently missing a test that sets an end date. Plan is to make another test that is basically a clone of testCreatePromotion, but sets a date at the end.
This would keep the integrity of the first test making sure the end date isn't required.
Comment | File | Size | Author |
---|---|---|---|
#3 | functional_promotion_testCreatePromotionWithEndDate.patch | 2.32 KB | mbreden |
Comments
Comment #2
mbreden CreditAttribution: mbreden at Acro Commerce commentedJust copied the initial create test and added a bit to check the end-date box and set a date.
Comment #3
mbreden CreditAttribution: mbreden at Acro Commerce commentedWoops, initial patch has wrong operator for end date. Updated.
Comment #4
mglamanComment #6
bojanz CreditAttribution: bojanz at Centarro commentedSomehow this one slipped through the cracks. Tweaked for latest -dev and committed. Thanks!