Skip to content

Commit 752a89a

Browse files
committed
forced to add a file just for bumping coverage of Phoenix generated code which is not being executed ... 🙄 #66
1 parent 30e8d5d commit 752a89a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/coverage_test.ex

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
defmodule CoverageTest do
2+
use ExUnit.Case
3+
4+
# Annoyingly, Phoenix creates a bunch of functions that are not executed
5+
# during the tests for the app ... this file manually executes them.
6+
7+
test "invoke config_change (dummy) function" do
8+
assert Hits.Application.config_change("hello", "world", "!") == :ok
9+
end
10+
11+
end

0 commit comments

Comments
 (0)