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 tests that expect debug output without enabling the option #577

Merged

Conversation

davidor
Copy link
Contributor

@davidor davidor commented Feb 6, 2018

This PR fixes the tests that expect response debug headers to be set without enabling the debug option via headers.

…header is set

This was setting the response debug headers even when the debug request
header was not set in a specific case: when
'service.backend_authentication.value' is nil. This was happening in
some integration tests.

While at it, rename the `get_debug_value` method to a more appropriate
name.
@davidor davidor requested a review from mikz February 6, 2018 12:12
@davidor davidor changed the title Fix tests that expect debug output without sending debug headers Fix tests that expect debug output without enabling the option Feb 6, 2018
@mikz mikz merged commit c0cab48 into master Feb 6, 2018
@mikz mikz deleted the fix-tests-that-expect-debug-output-without-debug-headers branch February 6, 2018 13:31
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