PackTest: Make test more resilient

This commit is contained in:
Lain Soykaf 2025-02-24 17:15:48 +04:00
parent 229ce66a8f
commit 4b3a985660

View file

@ -62,7 +62,7 @@ defmodule Pleroma.Emoji.PackTest do
path: Path.absname("test/instance_static/emoji/test_pack/blank.png")
}
assert Pack.add_file(pack, nil, nil, file) == {:error, :einval}
assert {:error, _} = Pack.add_file(pack, nil, nil, file)
end
test "returns pack when zip file is empty", %{pack: pack} do