update dates of test

This commit is contained in:
2023-03-29 11:59:20 +10:00
parent a55fac1bfa
commit 76102637dd

View File

@@ -28,7 +28,7 @@ class EventsApiTest extends TestCase
// Create a future event
$futureEvent = Event::factory()->create([
'publish_at' => Carbon::parse($this->faker->dateTimeBetween('+1 month', '+2 months')),
'publish_at' => Carbon::parse($this->faker->dateTimeBetween('+1 day', '+1 month')),
]);
// Send GET request to the /api/events endpoint