From 9518a7048524297da44990a04d63793a22669216 Mon Sep 17 00:00:00 2001 From: Tricia Jenkins Date: Mon, 24 Feb 2025 09:57:13 -0700 Subject: [PATCH] Silence deprecation warnings when running tests (#3712) It was becoming difficult to see signal in noise. Unfortunately we know we won't fix deprecations as this project enters end of life. --- CHANGELOG.md | 1 + config/environments/test.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2ca2c231..d3abcbcf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ New entries in this file should aim to provide a meaningful amount of informatio ### Changed * skip brakeman Remove brakeman's ruby EOL check +* silence deprecation warnings when running tests ### Chores * Bump bundler in Gemfile.lock to match production and build environments diff --git a/config/environments/test.rb b/config/environments/test.rb index 0cb8171e0..b6b0369a4 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -44,7 +44,7 @@ config.action_mailer.delivery_method = :test # Print deprecation notices to the stderr. - config.active_support.deprecation = :stderr + config.active_support.deprecation = :silence # Raise exceptions for disallowed deprecations. config.active_support.disallowed_deprecation = :raise