Skip to content

Commit 87127d9

Browse files
committed
Do not change log level during suite run
1 parent 6aa3562 commit 87127d9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/phoenix/endpoint/supervisor_test.exs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ defmodule Phoenix.Endpoint.SupervisorTest do
9393
import ExUnit.CaptureLog
9494

9595
test "logs info if :http or :https configuration is set but not :server when running in release" do
96-
Logger.configure(level: :info)
9796
# simulate running inside release
9897
System.put_env("RELEASE_NAME", "phoenix-test")
9998
Application.put_env(:phoenix, ServerEndpoint, server: false, http: [], https: [])
@@ -127,7 +126,6 @@ defmodule Phoenix.Endpoint.SupervisorTest do
127126
end) =~ "Configuration :server"
128127

129128
Application.delete_env(:phoenix, ServerEndpoint)
130-
Logger.configure(level: :warning)
131129
end
132130

133131
describe "watchers" do

0 commit comments

Comments
 (0)