Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #18691 - add as_deprecation_tracker to test environment
Causes test failures if any new deprecation warnings are triggered by changes in Foreman. Plugin code is automatically whitelisted unless it supplies its own ASDT whitelist configuration, so developers can opt-in. Warnings are now hidden in production as they're only relevant in development or test environments.
- Loading branch information
Showing
4 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
# http://projects.theforeman.org/issues/7570 | ||
- message: You didn't set `secret_key_base`. Read the upgrade documentation to learn | ||
more about this new config option. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ActiveSupport::Deprecation.behavior = :silence if Rails.env.production? |