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 broken tests for older Rails versions #1742

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

stanhu
Copy link
Contributor

@stanhu stanhu commented Oct 24, 2024

Summary

#1736 broke tests for Rails < 7.1 because these versions compared config.action_dispatch.show_exceptions == false. Conditionally set this value in the test set up to fix the broken tests.

Other Information

doorkeeper-gem#1736 broke tests for
Rails < 7.1 because these versions compared
`config.action_dispatch.show_exceptions == false`. Conditionally set
this value in the test set up to fix the broken tests.
Copy link
Member

@nbulaj nbulaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙇

@nbulaj nbulaj merged commit c113fa3 into doorkeeper-gem:main Oct 25, 2024
23 checks passed
stanhu added a commit to stanhu/doorkeeper-openid_connect that referenced this pull request Nov 22, 2024
In Rails 7.1, `action_dispatch.show_exceptions` should be set to
`:none` instead of `false` per
rails/rails#45867.

This is similar to doorkeeper-gem/doorkeeper#1742
stanhu added a commit to stanhu/doorkeeper-openid_connect that referenced this pull request Nov 22, 2024
In Rails 7.1, `action_dispatch.show_exceptions` should be set to
`:none` instead of `false` per
rails/rails#45867.

This is similar to doorkeeper-gem/doorkeeper#1742
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