i have an application that sends out notifications based on number of hours before a certain date.
- user sets date/time of event: December 31, 9pm
- notification #1 is sent 2 days previous (at December 29, 9pm)
- notification #2 is sent 1 day previous (at December 30, 9pm)
- notification #3 is sent 2 hours previous (at December 31, 7pm)
If i was testing on dev machine, i can adjust time of server or by adjusting timestamps within the IDE. However, this is hosted within Azure Cloud Service and I don't have that luxury.
Any suggestions on how I can avoid waiting for actual to elapse to test?
Aucun commentaire:
Enregistrer un commentaire