Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions test/fun_with_flags/supervisor_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
defmodule FunWithFlags.SupervisorTest do
use FunWithFlags.TestCase, async: false
import FunWithFlags.TestUtils

alias FunWithFlags.Config

Expand Down Expand Up @@ -219,10 +218,6 @@ defmodule FunWithFlags.SupervisorTest do
end

defp expected_supervisor_spec do
if on_elixir_15?() do
%{intensity: 3, period: 5, strategy: :one_for_one, auto_shutdown: :never}
else
%{intensity: 3, period: 5, strategy: :one_for_one}
end
%{intensity: 3, period: 5, strategy: :one_for_one, auto_shutdown: :never}
end
end
4 changes: 0 additions & 4 deletions test/support/test_utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ defmodule FunWithFlags.TestUtils do
configure_redis_with([database: 5])
end

def on_elixir_15? do
Version.match?(System.version, ">= 1.15.0")
end

def phx_pubsub_ready? do
try do
Process.whereis(FunWithFlags.Notifications.PhoenixPubSub) &&
Expand Down
Loading