The property MinValue does not exist on SilverStripe\UserForms\M...ld\EditableNumericField. Since you implemented __set, consider adding a @property annotation.
The property MaxValue does not exist on SilverStripe\UserForms\M...ld\EditableNumericField. Since you implemented __set, consider adding a @property annotation.
Loading history...
24
25
$result = $field->validate();
26
$this->assertFalse($result->isValid(), 'Validation should fail when min is greater than max');
27
$this->assertContains('Minimum length should be less than the maximum length', $result->serialize());
The property MinValue does not exist on SilverStripe\UserForms\M...ld\EditableNumericField. Since you implemented __set, consider adding a @property annotation.
The property MaxValue does not exist on SilverStripe\UserForms\M...ld\EditableNumericField. Since you implemented __set, consider adding a @property annotation.