Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Update tests/Query/BuilderTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
  • Loading branch information
GromNaN and jmikola authored Jul 13, 2023
1 parent 66f19bf commit 10cafbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Query/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public static function provideExceptions(): iterable
fn (Builder $builder) => $builder->whereBetween('id', ['min' => 1, 'max' => 2]),
];

yield 'whereBetween nested' => [
yield 'whereBetween array too short (nested)' => [
\InvalidArgumentException::class,
'Between $values must be a list with exactly two elements: [min, max]',
fn (Builder $builder) => $builder->whereBetween('id', [[1, 2]]),
Expand Down

0 comments on commit 10cafbc

Please sign in to comment.