Clean up tests output

This commit is contained in:
Egor Kislitsyn 2019-08-01 16:33:36 +07:00
parent cdfd02e904
commit f98235f2ad

View File

@ -1922,7 +1922,10 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
temp_file = "config/test.exported_from_db.secret.exs" temp_file = "config/test.exported_from_db.secret.exs"
Mix.shell(Mix.Shell.Quiet)
on_exit(fn -> on_exit(fn ->
Mix.shell(Mix.Shell.IO)
:ok = File.rm(temp_file) :ok = File.rm(temp_file)
end) end)