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

Fix assertRedirect #23170

Closed
wants to merge 3 commits into from
Closed

Fix assertRedirect #23170

wants to merge 3 commits into from

Conversation

adaroobi
Copy link
Contributor

assertRedirect doesn't behave correctly when asserting a redirect routes since it retains the headers format while converting the given URI to URL if necessary.

@taylorotwell
Copy link
Member

Deleted important tests.

@adaroobi
Copy link
Contributor Author

Sorry @taylorotwell the replaced tests got an identical result and would be redundant to perform the same assertions with a different method.

@adaroobi adaroobi deleted the fix-assertRedirect branch February 15, 2018 18:41
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