Open AronNovak opened 3 weeks ago
Tests are failing because the item you added is processed with the "intervals" parameter of validate()
set to FALSE
.
See https://github.com/Islandora/controlled_access_terms/blob/2.x/src/EDTFUtils.php#L132 and https://github.com/Islandora/controlled_access_terms/blob/2.x/tests/src/Kernel/EdtfUtilsTest.php#L59.
GitHub Issue:
123
What does this Pull Request do?
Adds stricter validation for date ranges, start date should be earlier than end date.
What's new?
It validates date intervals for EDTF fields, so previously accepted (but incorrect) date entries could become suddenly not accepted by this change.
Interested parties
@Islandora/committers