improve tests

This commit is contained in:
Robin Krahnen 2024-09-04 15:58:08 +02:00
parent cf710783d9
commit 3b64e5b87b

View file

@ -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());
} }
/** /**