Skip to content

Commit

Permalink
Do not change log level during suite run
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 20, 2024
1 parent 6aa3562 commit 87127d9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/phoenix/endpoint/supervisor_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ defmodule Phoenix.Endpoint.SupervisorTest do
import ExUnit.CaptureLog

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

Application.delete_env(:phoenix, ServerEndpoint)
Logger.configure(level: :warning)
end

describe "watchers" do
Expand Down

0 comments on commit 87127d9

Please sign in to comment.