Skip to content

Commit

Permalink
Merge pull request #3370 from alphagov/set-show-exceptions-in-tests-t…
Browse files Browse the repository at this point in the history
…o-none

Set Rails config option action_dispatch.show_exceptions to :none
  • Loading branch information
unoduetre authored Oct 23, 2024
2 parents 842ddc9 + 494496d commit 0635481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
config.cache_store = :null_store

# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false
config.action_dispatch.show_exceptions = :none

# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
Expand Down

0 comments on commit 0635481

Please sign in to comment.