From 4b3a985660f6db38eb411a34b2a61d250498eae2 Mon Sep 17 00:00:00 2001 From: Lain Soykaf Date: Mon, 24 Feb 2025 17:15:48 +0400 Subject: [PATCH] PackTest: Make test more resilient --- test/pleroma/emoji/pack_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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