expect($carbon)->toBeLastWeek()
fabio-ivona opened this issue · 0 comments
fabio-ivona commented
a new expectation could be added to Time category:
expect('2021-03-11')->toBeLastWeek();
using $carbon->isLastWeek();
fabio-ivona opened this issue · 0 comments
a new expectation could be added to Time category:
expect('2021-03-11')->toBeLastWeek();
using $carbon->isLastWeek();