Open sabina-talipova opened 9 months ago
RequiredFieldsTest performs lots of tests for methods on RequiredFields - but it doesn't actually test the validation which is probably the one thing we have to test.
RequiredFields
See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/tests/php/Forms/RequiredFieldsTest.php#L9
Description
RequiredFieldsTest performs lots of tests for methods on
RequiredFields
- but it doesn't actually test the validation which is probably the one thing we have to test.See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/tests/php/Forms/RequiredFieldsTest.php#L9