Skip to content

Commit

Permalink
Prefer :module to :case
Browse files Browse the repository at this point in the history
The `:case` attribute will be dropped in Elixir v2.0.

See: https://github.com/elixir-lang/elixir/blob/v1.18.1/lib/ex_unit/lib/ex_unit.ex#L109
  • Loading branch information
sgerrand committed Jan 20, 2025
1 parent 17aac97 commit 26225ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/mix/test_case.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule Pow.Test.Mix.TestCase do

context =
context
|> Map.put(:tmp_path, Path.join(["tmp", inspect(context.case)]))
|> Map.put(:tmp_path, Path.join(["tmp", inspect(context.module)]))
|> build_context()
|> init_phoenix_app_dir()

Expand Down

0 comments on commit 26225ad

Please sign in to comment.