diff --git a/tests/Unit/Jobs/CleanupArticlesJobTest.php b/tests/Unit/Jobs/CleanupArticlesJobTest.php index 8e58f0d..828ae0f 100644 --- a/tests/Unit/Jobs/CleanupArticlesJobTest.php +++ b/tests/Unit/Jobs/CleanupArticlesJobTest.php @@ -100,6 +100,8 @@ public function test_cascade_deletes_route_articles(): void public function test_preserves_article_at_exact_retention_boundary(): void { + $this->freezeTime(); + $boundary = Article::factory()->for(Feed::factory())->create([ 'created_at' => now()->subDays(30), ]);