diff options
author | Lain Soykaf <lain@lain.com> | 2025-02-24 17:15:48 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2025-02-24 17:15:48 +0400 |
commit | 4b3a985660f6db38eb411a34b2a61d250498eae2 (patch) | |
tree | 6af42f4f80cbf5168948a6ae092906883242b3c1 | |
parent | 229ce66a8fdc7db626bdfee6a3a526ee028b510a (diff) | |
download | pleroma-4b3a985660f6db38eb411a34b2a61d250498eae2.tar.gz pleroma-4b3a985660f6db38eb411a34b2a61d250498eae2.zip |
PackTest: Make test more resilient
-rw-r--r-- | test/pleroma/emoji/pack_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/emoji/pack_test.exs b/test/pleroma/emoji/pack_test.exs index 00001abfc..a05609e9a 100644 --- a/test/pleroma/emoji/pack_test.exs +++ b/test/pleroma/emoji/pack_test.exs @@ -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 |