Skip to content

Commit d5d514a

Browse files
Fix flaky ProjectsPageTest (#3373)
One of the tests added in #3368 is flaky.
1 parent 247ac5f commit d5d514a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Browser/Pages/ProjectsPageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public function testShowsDateOfLastSubmission(): void
220220
'siteid' => $this->site->id,
221221
'name' => Str::uuid()->toString(),
222222
'uuid' => Str::uuid()->toString(),
223-
'submittime' => Carbon::now()->subWeek(),
223+
'submittime' => Carbon::now()->subWeek()->subHour(),
224224
]);
225225

226226
$this->browse(function (Browser $browser): void {

0 commit comments

Comments
 (0)