mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2026-02-15 17:16:57 +00:00
Elixir 1.19: Disable logging with colors in test environment
Can break some tests capture logs and then match on an expected text. Since color codes end up being in the captured log.
This commit is contained in:
parent
b35573c6b5
commit
941c99d317
1 changed files with 5 additions and 1 deletions
|
|
@ -17,7 +17,11 @@ config :pleroma, Pleroma.Captcha,
|
|||
# Print only warnings and errors during test
|
||||
config :logger, :default_handler, level: :warning
|
||||
|
||||
config :logger, :default_formatter, format: "\n[$level] $message\n"
|
||||
config :logger, :default_formatter,
|
||||
format: "\n[$level] $message\n",
|
||||
colors: [
|
||||
enabled: false
|
||||
]
|
||||
|
||||
config :pleroma, :auth, oauth_consumer_strategies: []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue