From: lain Date: Mon, 25 May 2020 12:00:18 +0000 (+0200) Subject: StealEmojiPolicyTest: Clean up. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5d5db7e5b7f722f7735798f9b9ed8069091726de;p=akkoma StealEmojiPolicyTest: Clean up. --- diff --git a/test/web/activity_pub/mrf/steal_emoji_policy_test.exs b/test/web/activity_pub/mrf/steal_emoji_policy_test.exs index 0e7e57c77..3f8222736 100644 --- a/test/web/activity_pub/mrf/steal_emoji_policy_test.exs +++ b/test/web/activity_pub/mrf/steal_emoji_policy_test.exs @@ -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