3da68c2e49
Fix handling of validation groups. Also added test to cover the feature.
28 lines
532 B
YAML
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
|
|
|