We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use Carbon::setTestNow(Carbon::now()) in my tests and something like:
it("fails)", function (Carbon $from): void { // })->with([ "example" => [ "from" => Carbon::now(), ] ]);
the value of Carbon::setTestNow() is ignored.
Doesn't matter where I set it - test itself, beforeEach or beforeAll.
No response
2.35.0
8.3
Linux
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What Happened
When I use Carbon::setTestNow(Carbon::now()) in my tests and something like:
it("fails)", function (Carbon $from): void { // })->with([ "example" => [ "from" => Carbon::now(), ] ]);
the value of Carbon::setTestNow() is ignored.
How to Reproduce
Doesn't matter where I set it - test itself, beforeEach or beforeAll.
Sample Repository
No response
Pest Version
2.35.0
PHP Version
8.3
Operation System
Linux
Notes
No response
The text was updated successfully, but these errors were encountered: