forked from AkkomaGang/akkoma
Merge branch 'cleanup-tests' into 'develop'
Clean up `AdminAPIControllerTest` output See merge request pleroma/pleroma!1516
This commit is contained in:
commit
955985fe2c
1 changed files with 3 additions and 0 deletions
|
@ -1922,7 +1922,10 @@ test "queues key as atom", %{conn: conn} 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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue