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

BUG Fix VersionedTest sometimes failing given certain querystring arguments #4954

Merged
merged 1 commit into from
Jan 22, 2016

Conversation

tractorcow
Copy link
Contributor

It looks like this test was susceptible to state set by prior tests.

@tractorcow tractorcow added this to the 3.3.0 rc1 milestone Jan 21, 2016
dhensby added a commit that referenced this pull request Jan 22, 2016
BUG Fix VersionedTest sometimes failing given certain querystring arguments
@dhensby dhensby merged commit e9d45b4 into silverstripe:3.3 Jan 22, 2016
@dhensby
Copy link
Contributor

dhensby commented Jan 22, 2016

gosh, why are we messing with global state like that :(

@tractorcow
Copy link
Contributor Author

Some tests don't clean up after themselves, it seems. =/

A new global state mechanism is necessary; It'll have to be 4.x. Hopefully one that overrides the necessity for any global references to $_GET / $_POST etc.

@tractorcow tractorcow deleted the pulls/3.3/version-fixes branch January 24, 2016 21:39
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.

2 participants