Skip to content

Commit

Permalink
test: fix param type
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Nov 13, 2023
1 parent 23624c0 commit c91de98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/Models/InsertModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function testInsertBatchSetsIntTimestamps(): void
$this->assertSame(2, $this->model->insertBatch($jobData));

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

public function testInsertBatchSetsDatetimeTimestamps(): void
Expand Down

0 comments on commit c91de98

Please sign in to comment.