Fix flaky boundary test with freezeTime
This commit is contained in:
parent
ff855facda
commit
4b0d17e2ae
1 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ public function test_cascade_deletes_route_articles(): void
|
||||||
|
|
||||||
public function test_preserves_article_at_exact_retention_boundary(): void
|
public function test_preserves_article_at_exact_retention_boundary(): void
|
||||||
{
|
{
|
||||||
|
$this->freezeTime();
|
||||||
|
|
||||||
$boundary = Article::factory()->for(Feed::factory())->create([
|
$boundary = Article::factory()->for(Feed::factory())->create([
|
||||||
'created_at' => now()->subDays(30),
|
'created_at' => now()->subDays(30),
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue