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.

Comments

mbreden created an issue. See original summary.

mbreden’s picture

Status: Active » Needs review
StatusFileSize
new2.32 KB

Just copied the initial create test and added a bit to check the end-date box and set a date.

mbreden’s picture

StatusFileSize
new2.32 KB

Woops, initial patch has wrong operator for end date. Updated.

mglaman’s picture

  • bojanz committed 9a67b8f on 8.x-2.x authored by mbreden
    Issue #2821821 by mbreden: Create testCreatePromotionWithEndDate
    
bojanz’s picture

Status: Needs review » Fixed

Somehow this one slipped through the cracks. Tweaked for latest -dev and committed. Thanks!

Status: Fixed » Closed (fixed)

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