Skip to content

Fix broken tests for older Rails versions#1742

Merged
nbulaj merged 1 commit intodoorkeeper-gem:mainfrom
stanhu:sh-fix-broken-main
Oct 25, 2024
Merged

Fix broken tests for older Rails versions#1742
nbulaj merged 1 commit intodoorkeeper-gem:mainfrom
stanhu:sh-fix-broken-main

Conversation

@stanhu
Copy link
Copy Markdown
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
Copy Markdown
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
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