Skip to content

Commit ef0c495

Browse files
fishcakezJosé Valim
authored andcommitted
Set MIX_ARCHIVES in mix tasks archive tests
Previously archive tests would fail if MIX_ARCHIVES was set. Signed-off-by: José Valim <[email protected]>
1 parent 2472bb7 commit ef0c495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/test/mix/tasks/archive_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defmodule Mix.Tasks.ArchiveTest do
1717

1818
test "archive" do
1919
File.rm_rf! tmp_path("userhome")
20-
System.put_env "MIX_HOME", tmp_path("userhome/.mix")
20+
System.put_env "MIX_ARCHIVES", tmp_path("userhome/.mix/archives/")
2121
Mix.Project.push(ArchiveProject)
2222

2323
in_fixture "archive", fn() ->

0 commit comments

Comments
 (0)