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