We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7f2fc commit 9a5b1bdCopy full SHA for 9a5b1bd
tests/ModelTest.php
@@ -441,7 +441,7 @@ public function testCarbonDateMockingWorks()
441
Carbon::setTestNow($fakeDate);
442
$item = Item::create(['name' => 'sword']);
443
444
- $this->assertLessThan($fakeDate->diffInSeconds($item->created_at), 1);
+ $this->assertLessThan(1, $fakeDate->diffInSeconds($item->created_at));
445
}
446
447
public function testIdAttribute(): void
0 commit comments