DigiComp.SettingValidator/Configuration/Testing/Validation.yaml
Daniel Siepmann 3da68c2e49
TASK: Fix ValidationGroups
Fix handling of validation groups. Also added test to cover the feature.
2017-07-03 10:11:18 +02:00

28 lines
532 B
YAML

DigiComp\SettingValidator\Tests\Functional\Fixtures\TestObject:
properties:
shouldBeTrue:
BooleanValue:
expectedValue: true
shouldBeFalse:
BooleanValue:
expectedValue: false
Grumble: ~
TrueValidator:
self:
BooleanValue:
expectedValue: true
GroupValidatorDefault:
self:
BooleanValue:
expectedValue: true
validationGroups:
- Default
GroupValidatorCustom:
self:
BooleanValue:
expectedValue: false
validationGroups:
- Custom