Log into the deploy preview and create a new MerchStore (always open).
Set the merchstore's status to active and update the store.
In the DB, check the email_notifications collection. An order closed email notification should have been generated under the created store's storeCode. (always open stores don't get a halfway or last day email)
Create a new merchstore (static close).
Repeat step 2 for the new store.
Repeat step 3. For static stores there should also be a halfway and last day email entry.
Update the close date for the static store. Check the DB and verify that the dates have recalculated for the store's email entries.
Double check that the functionality for GoT are still intact. Steps are the same for GoT as for static close date MerchStores.
Quick and dirty but works.
Most of my concerns are from the original GOT code that it's just polluted with lots of new Promise().
I'll ignore them and let pass this.
Fixes task: https://www.wrike.com/open.htm?id=764785163
Steps to Test
┆Issue is synchronized with this Wrike Item by Unito