forked from AkkomaGang/akkoma
StealEmojiPolicyTest: Clean up.
This commit is contained in:
parent
2dff376041
commit
5d5db7e5b7
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue