Skip to content

Commit

Permalink
fix(tests): increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jksalazar committed Nov 25, 2024
1 parent e773a4b commit f61198e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion priv/templates/structure/health_check_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions priv/templates/structure/test_application.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit f61198e

Please sign in to comment.