Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb3fcd2

Browse files
add assert exception message
1 parentc409057 commitfb3fcd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/Validator/Tests/Constraints/BackedEnumValueValidatorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ protected function createValidator(): BackedEnumValueValidator
2929
publicfunctiontestExpectEnumForTypeAttribute()
3030
{
3131
$this->expectException(ConstraintDefinitionException::class);
32+
$this->expectExceptionMessage('The "type" must be a \BackedEnum, got "string".');
3233
newBackedEnumValue(
3334
type:self::class
3435
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp