Skip to content

Commit

Permalink
Set logger level to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Jul 27, 2023
1 parent 416ad8e commit 65e9d33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/exile_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ defmodule ExileTest do
expr = ~s{Exile.stream!(#{inspect(args)}, #{inspect(opts)}) |> Enum.to_list()}

{_output, _exit_status} =
System.cmd("sh", ["-c", "mix run -e '#{expr}'"], stderr_to_stdout: true)
System.cmd("sh", ["-c", "MIX_ENV=test mix run -e '#{expr}'"], stderr_to_stdout: true)
end
end
1 change: 1 addition & 0 deletions test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Logger.configure(level: :warning)
ExUnit.start(capture_log: true)

0 comments on commit 65e9d33

Please sign in to comment.