Reset Emoji cache between tests

This fixes intermittent test failures
This commit is contained in:
Mark Felder 2025-07-22 14:11:28 -07:00
commit 28b69f5c04

View file

@ -13,6 +13,9 @@ defmodule Pleroma.Emoji.PackTest do
)
setup do
# Reload emoji to ensure a clean state
Emoji.reload()
pack_path = Path.join(@emoji_path, "dump_pack")
File.mkdir(pack_path)