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 @@ test "queues key as atom", %{conn: conn} 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)