Reset Emoji cache between tests
This fixes intermittent test failures
This commit is contained in:
parent
113261146f
commit
28b69f5c04
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue