StealEmojiPolicyTest: Clean up.

This commit is contained in:
lain 2020-05-25 14:00:18 +02:00
parent 2dff376041
commit 5d5db7e5b7

View File

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