We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d46fbc + bdbf1fd commit b995d86Copy full SHA for b995d86
tests/Builder/Query/EntityBuilderQueryTest.php
@@ -784,7 +784,7 @@ public function testWhereLastMonth(): void
784
{
785
$users = db()->bucket('users')->whereLastMonth('created_at')->get();
786
787
- $this->assertCount(0, $users);
+ $this->assertCount(3, $users);
788
}
789
790
public function testWhereThisYear(): void
tests/Model/Query/EntityModelQueryTest.php
@@ -941,7 +941,7 @@ public function testWhereLastMonth(): void
941
942
$users = MockUser::whereLastMonth('created_at')->get();
943
944
945
946
947
0 commit comments