Skip to content

Commit 3a08116

Browse files
committed
test: fix param type
1 parent d9f796c commit 3a08116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Models/InsertModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function testInsertBatchSetsIntTimestamps(): void
120120
$this->assertSame(2, $this->model->insertBatch($jobData));
121121

122122
$result = $this->model->where('name', 'Philosopher')->first();
123-
$this->assertCloseEnough(time(), $result->created_at);
123+
$this->assertCloseEnough(time(), (int) $result->created_at);
124124
}
125125

126126
public function testInsertBatchSetsDatetimeTimestamps(): void

0 commit comments

Comments
 (0)