DigiComp.SettingValidator/Configuration/Testing/Validation.yaml

39 lines
895 B
YAML
Raw Normal View History

2017-06-02 21:58:33 +02:00
DigiComp\SettingValidator\Tests\Functional\Fixtures\TestObject:
properties:
shouldBeTrue:
BooleanValue:
expectedValue: true
shouldBeFalse:
BooleanValue:
expectedValue: false
Grumble: ~
2017-06-02 21:58:33 +02:00
TrueValidator:
self:
BooleanValue:
expectedValue: true
DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsCustomObject:
self:
DigiComp.SettingValidator:Settings:
2021-02-16 11:19:51 +01:00
name: "GroupValidatorCustom"
DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsDefaultObject:
self:
DigiComp.SettingValidator:Settings:
2021-02-16 11:19:51 +01:00
name: "GroupValidatorDefault"
GroupValidatorDefault:
properties:
shouldBeTrue:
BooleanValue:
expectedValue: true
GroupValidatorCustom:
properties:
shouldBeFalse:
BooleanValue:
expectedValue: false
validationGroups:
2021-02-16 11:19:51 +01:00
- "Custom"