You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should save the specified time in filesystem or other storage. Then load this time in the second request and freeze the time using timecop.
Better solution would be to use a time provider to mock the time in a more elegant way.
We have some Behat scenarios which revolve around what happens just before and just after midday.
So we need to specify the time in a step, then make a request to a URL to see what happens.
I thought timecop might cover this, but it seems to only affect the process where you call timecop_freeze().
Am I missing something, or do I need to look for another approach.
The text was updated successfully, but these errors were encountered: