Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use variable date from offering fixture in tests #1717

Merged
merged 3 commits into from
Jan 12, 2017

Conversation

jrjohnson
Copy link
Member

One of the offerings now uses a variable date in order to stay current.
Instead of looking for a static date we need to grab the correct entity
and check that date.

Fixes #1716

One of the offerings now uses a variable date in order to stay current.
Instead of looking for a static date we need to grab the correct entity
and check that date.
New dynamic second offering requires reordering of the offering
timestamp expected in these tests.
There are some sorting differences between PHP v5 and v7 that don't make
much difference to our application, but do matter for tests. In order to
ensure we get consistent test results I added a sort by endDate as well
as startDate to the event sorting.
@stopfstedt stopfstedt merged commit 22b7024 into ilios:master Jan 12, 2017
@jrjohnson jrjohnson deleted the 1716-offeringtests branch January 12, 2017 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants