improve tests
This commit is contained in:
parent
cf710783d9
commit
3b64e5b87b
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ class SettingsValidatorTest extends FunctionalTestCase
|
||||||
|
|
||||||
self::assertTrue($result->hasErrors());
|
self::assertTrue($result->hasErrors());
|
||||||
self::assertCount(1, $result->getFlattenedErrors());
|
self::assertCount(1, $result->getFlattenedErrors());
|
||||||
|
self::assertCount(1, $result->forProperty('shouldBeTrueAndValidatedByAnnotation')->getErrors());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue