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

SiteTreeTest::testReadArchiveDate() now tests ORM results rather than underlying sql arguments #2387

Merged

Conversation

robbieaverill
Copy link
Contributor

The test originally is testing that the date is included in an underlying SQL query as an argument. I've changed this in silverstripe/silverstripe-versioned#213, so have updated this test to write an old page, set the reading archive date and assert that it can return the one page from it instead.

Issue: silverstripe/silverstripe-versioned#194

@ScopeyNZ ScopeyNZ merged commit 543307a into silverstripe:4.3 Feb 11, 2019
@ScopeyNZ ScopeyNZ deleted the pulls/4.3/versioning-test-update branch February 11, 2019 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants