StealEmojiPolicyTest: Clean up.
This commit is contained in:
parent
2dff376041
commit
5d5db7e5b7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user