diff --git a/priv/templates/structure/health_check_test.exs b/priv/templates/structure/health_check_test.exs index 31e0f46..7bbaf8e 100644 --- a/priv/templates/structure/health_check_test.exs +++ b/priv/templates/structure/health_check_test.exs @@ -6,7 +6,6 @@ defmodule {app}.Infrastructure.EntryPoints.HealthCheckTest do describe "checks/0" do test "returns a list of health checks" do checks = HealthCheck.checks() - assert length(checks) == 1 check = hd(checks) assert check.name == "http" diff --git a/priv/templates/structure/test_application.exs b/priv/templates/structure/test_application.exs index 934fc86..9b1a338 100644 --- a/priv/templates/structure/test_application.exs +++ b/priv/templates/structure/test_application.exs @@ -7,10 +7,6 @@ defmodule {app}.ApplicationTest do assert {app}.Application.env_children(:test, %AppConfig{}) == [] end - test "env_children/2 returns empty list for other environments" do - assert {app}.Application.env_children(:dev, %AppConfig{}) == [] - end - setup do if :ets.info(:{app_snake}_config) == :undefined do :ets.new(:{app_snake}_config, [:public, :named_table, read_concurrency: true])