Skip to content

Commit aefcc57

Browse files
authored
Remove unused @epoch module attribute in integration test (#6816)
In commit 36961b6 ([#6764](https://redirect.github.com/phoenixframework/phoenix/pull/6764)), the test "development workflow works as expected" was updated to "generated app boots with mix phx.server", removing the `File.touch!` and `File.stat!` assertions on non-existent HTML templates in an app generated with `--no-html`. However, the `@epoch` module attribute definition at the top of the file was left behind, causing the compiler warning: "warning: module attribute @epoch was set but never used" This removes the unused `@epoch` definition.
1 parent a16ee7a commit aefcc57

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

integration_test/test/code_generation/app_with_no_options_test.exs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
defmodule Phoenix.Integration.CodeGeneration.AppWithNoOptionsTest do
22
use Phoenix.Integration.CodeGeneratorCase, async: true
33

4-
@epoch {{1970, 1, 1}, {0, 0, 0}}
5-
64
test "newly generated app has no warnings or errors" do
75
with_installer_tmp("app_with_no_options", fn tmp_dir ->
86
{app_root_path, _} =

0 commit comments

Comments
 (0)