Skip to content

Commit

Permalink
fix flaky tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jan 1, 2025
1 parent 78fac71 commit 945ec00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Models/CouponTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
]);

it('checks if coupon is expired', function($attributes) {
$this->travelTo(now()->setDay(3));
$this->travelTo(now()->weekday(3));

$coupon = Coupon::factory()->create($attributes);

Expand Down

0 comments on commit 945ec00

Please sign in to comment.