Elixir 1.19: Disable colors for logging in test env

Color ANSI codes end up in the capture_log output and break existing
tests.
This commit is contained in:
Phantasm 2026-01-14 13:45:20 +01:00 • committed by Phantasm
commit 9450fba83d

View file

@ -16,7 +16,10 @@ 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: []