expect($carbon)->toBeMidnight()
Closed this issue · 0 comments
fabio-ivona commented
a new expectation could be added to Time category:
expect(now())->toBeMidnight();
using $carbon->isMidnight();
Closed this issue · 0 comments
a new expectation could be added to Time category:
expect(now())->toBeMidnight();
using $carbon->isMidnight();