Clean up tests output
authorEgor Kislitsyn <egor@kislitsyn.com>
Thu, 1 Aug 2019 09:33:36 +0000 (16:33 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Thu, 1 Aug 2019 09:33:36 +0000 (16:33 +0700)
test/web/admin_api/admin_api_controller_test.exs

index 824ad23e68ee4dcbc7c5478ff83fd69561fe7963..f61499a22b56b5e70a306c99b2bc2352f0de1cec 100644 (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)