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

Fake auth middleware in tests #5206

Merged
merged 1 commit into from Feb 12, 2019

Conversation

@stsewd
Copy link
Member

@stsewd stsewd commented Jan 31, 2019

Some tests require the session and auth middleware.
The auth middleware inject the AnonymousUser.

It helps to pass some tests in the corporate site to update a
dependency

Some tests require the session and auth middleware.
The auth middleware inject the AnonymousUser.

It helps to pass some tests in the corporate site to update a
dependency
@stsewd stsewd requested a review from Jan 31, 2019
Copy link
Member

@ericholscher ericholscher left a comment

Interesting that this is needed.

@ericholscher ericholscher merged commit bcf6db1 into readthedocs:master Feb 12, 2019
2 checks passed
@stsewd stsewd deleted the fake-auth-middleware branch Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants