PackTest: Make test more resilient
This commit is contained in:
parent
229ce66a8f
commit
4b3a985660
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue