CrossRef / cayenne

MOVED to https://gitlab.com/crossref/rest_api
https://gitlab.com/crossref/rest_api
MIT License
17 stars 9 forks source link

Tests are time-dependent, but time isn't specified #53

Closed afandian closed 5 years ago

afandian commented 5 years ago

Tests that rely on snapshots have an implicit coupling to the time at which the snapshots were taken and when the tests were run. Coverage is broken down into 'current' and 'backfile', and if the tests are run a year later than when the snapshot was taken, some works will be classified differently.

Update test fixture to freeze time at a known point.