Islandora / controlled_access_terms

Drupal module for subject and agents
GNU General Public License v2.0
7 stars 28 forks source link

fix/add tests for validation and ISO 8601 #104

Closed seth-shaw-asu closed 11 months ago

seth-shaw-asu commented 11 months ago

GitHub Issue: #103

What does this Pull Request do?

Addresses issue with date intervals throwing a warning when passed to EDTF:Utils::iso8601Value. Also updates and adds more tests.

How should this be tested?

Short version: tests pass. :+1:

Longer version:

Additional Notes

An early version of this was accidentally pushed directly to the repo which I then reverted. This PR is the real version.

Interested parties

@Islandora/committers

alxp commented 11 months ago

Tested the drush command and phpunit on Drupal 10, works as advertised.