From: Egor Kislitsyn Date: Thu, 1 Aug 2019 09:33:36 +0000 (+0700) Subject: Clean up tests output X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f98235f2adfff290d95c7353c63225c07e5f86ff;p=akkoma Clean up tests output --- diff --git a/test/web/admin_api/admin_api_controller_test.exs b/test/web/admin_api/admin_api_controller_test.exs index 824ad23e6..f61499a22 100644 --- a/test/web/admin_api/admin_api_controller_test.exs +++ b/test/web/admin_api/admin_api_controller_test.exs @@ -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)