File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
tests/Unit/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ protected function getDqlStatements(): array
4242 }
4343
4444 #[Test]
45- public function invalid_boolean_throws_exception (): void
45+ public function throws_exception_for_invalid_boolean_value (): void
4646 {
4747 $ this ->expectException (InvalidBooleanException::class);
4848 $ this ->expectExceptionMessage ('Invalid boolean value "invalid" provided for array_to_json. Must be "true" or "false". ' );
@@ -52,7 +52,7 @@ public function invalid_boolean_throws_exception(): void
5252 }
5353
5454 #[Test]
55- public function too_many_arguments_throws_exception (): void
55+ public function throws_exception_for_too_many_arguments (): void
5656 {
5757 $ this ->expectException (InvalidArgumentForVariadicFunctionException::class);
5858 $ this ->expectExceptionMessage ('array_to_json() requires between 1 and 2 arguments ' );
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ protected function getDqlStatements(): array
4646 }
4747
4848 #[Test]
49- public function invalid_timezone_throws_exception (): void
49+ public function throws_exception_for_invalid_timezone (): void
5050 {
5151 $ this ->expectException (InvalidTimezoneException::class);
5252 $ this ->expectExceptionMessage ('Invalid timezone "Invalid/Timezone" provided for date_add ' );
@@ -56,7 +56,7 @@ public function invalid_timezone_throws_exception(): void
5656 }
5757
5858 #[Test]
59- public function too_few_arguments_throws_exception (): void
59+ public function throws_exception_for_too_few_arguments (): void
6060 {
6161 $ this ->expectException (InvalidArgumentForVariadicFunctionException::class);
6262 $ this ->expectExceptionMessage ('date_add() requires at least 2 arguments ' );
@@ -66,7 +66,7 @@ public function too_few_arguments_throws_exception(): void
6666 }
6767
6868 #[Test]
69- public function too_many_arguments_throws_exception (): void
69+ public function throws_exception_for_too_many_arguments (): void
7070 {
7171 $ this ->expectException (InvalidArgumentForVariadicFunctionException::class);
7272 $ this ->expectExceptionMessage ('date_add() requires between 2 and 3 arguments ' );
You can’t perform that action at this time.
0 commit comments