Skip to content

Commit

Permalink
styleci
Browse files Browse the repository at this point in the history
  • Loading branch information
malkhazidartsmelidze committed Oct 15, 2024
1 parent ec742da commit 4de68b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Database/DatabaseQueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ public function testWhereMonthBetweenAcceptsMonthEnum()
if (! class_exists(\Carbon\Month::class)) {
$this->markTestSkipped('Carbon 3.0 is not installed.');
}

$builder = $this->getBuilder();
$builder->select('*')->from('users')->whereMonthBetween('created_at', [\Carbon\Month::January, \Carbon\Month::October]);
$this->assertSame('select * from "users" where month("created_at") between ? and ?', $builder->toSql());
Expand Down

0 comments on commit 4de68b1

Please sign in to comment.