Conversation
|
I like this change, makes sense. I feel like this should be the default behavior for L11, would this be update for there too? |
|
@abenerd, I thought about that as well, but wondered if it might be too magical. I usually want my tests to be really explicit and if there are side-effects happening I haven't asked for it might cause headaches. An application just put |
|
@timacdonald I feel like this is less magic and more like expected behavior, when I wake up after sleeping I want to get the correct time and not when I fell asleep. Alternatively one can also add the option to sync with carbon to the |
Adds a testing helper to keep carbon in sync when sleeping.
Before you would commonly do the following...
Docs: laravel/docs#9462