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
But the method isFuture is incompatible with it, because it never uses the mocked time. If I mock a date in the past, then add 2 weeks, but it's still in the past, I will get an exception.
Do you have any advice regarding my issue?
Thanks in advance
PS: I'm not sure if I've already asked this question, but I don't find any clues about it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In my project, I use your UrlSigner bundle with Symfony.
In my tests, I also use mocked time with https://symfony.com/doc/current/components/clock.html
But the method
isFutureis incompatible with it, because it never uses the mocked time. If I mock a date in the past, then add 2 weeks, but it's still in the past, I will get an exception.Do you have any advice regarding my issue?
Thanks in advance
PS: I'm not sure if I've already asked this question, but I don't find any clues about it.
Beta Was this translation helpful? Give feedback.
All reactions