Merge branch 'cleanup-tests' into 'develop'

Clean up `AdminAPIControllerTest` output

See merge request pleroma/pleroma!1516
This commit is contained in:
rinpatch 2019-08-01 13:38:15 +00:00
commit 955985fe2c

View File

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