spatie/pest-plugin-test-time
A Pest plugin for controlling time in tests. Freeze or advance Carbon’s current time with testTime()->freeze() and addMinute(), and use the toBeCarbon expectation to assert Carbon date and time values clearly.
Add support for Pest 5.
Pest 5 requires PHP 8.4, so the minimum PHP version is now 8.4. Carbon 2 is no longer supported.
Full Changelog: https://github.com/spatie/pest-plugin-test-time/compare/2.1.0...2.2.0
Full Changelog: https://github.com/spatie/pest-plugin-test-time/compare/2.0.0...2.1.0
Full Changelog: https://github.com/spatie/pest-plugin-test-time/compare/1.1.1...2.0.0
null with toBeCarbonHow can I help you explore Laravel packages today?