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:
parent
bd0c5aa748
commit
9450fba83d
1 changed files with 4 additions and 1 deletions
|
|
@ -16,7 +16,10 @@ config :pleroma, Pleroma.Captcha,
|
||||||
|
|
||||||
# Print only warnings and errors during test
|
# Print only warnings and errors during test
|
||||||
config :logger, :default_handler, level: :warning
|
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: []
|
config :pleroma, :auth, oauth_consumer_strategies: []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue