StealEmojiPolicyTest: Clean up.

This commit is contained in:
lain 2020-05-25 14:00:18 +02:00
parent 2dff376041
commit 5d5db7e5b7
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ defmodule Pleroma.Web.ActivityPub.MRF.StealEmojiPolicyTest do
File.mkdir!(emoji_path) File.mkdir!(emoji_path)
Pleroma.Emoji.reload() Pleroma.Emoji.reload()
on_exit(fn ->
File.rm_rf!(emoji_path)
end)
:ok
end end
test "does nothing by default" do test "does nothing by default" do