summaryrefslogtreecommitdiff
path: root/test/web/emoji_api_controller_test.exs
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@cock.li>2019-08-15 11:39:39 +0300
committerEkaterina Vaartis <vaartis@cock.li>2019-09-19 00:16:33 +0300
commit2a94eca096f67a908410ffdd82f5bace8a3df88c (patch)
tree6e3ad0b3e5068c1ffec806ae841d5fc3a990102e /test/web/emoji_api_controller_test.exs
parentb0ecd412f5c499773cdc462c50d6c8104a819550 (diff)
downloadpleroma-2a94eca096f67a908410ffdd82f5bace8a3df88c.tar.gz
pleroma-2a94eca096f67a908410ffdd82f5bace8a3df88c.zip
Change YAML to JSON
Diffstat (limited to 'test/web/emoji_api_controller_test.exs')
-rw-r--r--test/web/emoji_api_controller_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/emoji_api_controller_test.exs b/test/web/emoji_api_controller_test.exs
index 13a34d38d..bf56c1516 100644
--- a/test/web/emoji_api_controller_test.exs
+++ b/test/web/emoji_api_controller_test.exs
@@ -38,7 +38,7 @@ defmodule Pleroma.Web.EmojiAPI.EmojiAPIControllerTest do
{:ok, arch} = :zip.unzip(resp, [:memory])
- assert Enum.find(arch, fn {n, _} -> n == 'pack.yml' end)
+ assert Enum.find(arch, fn {n, _} -> n == 'pack.json' end)
assert Enum.find(arch, fn {n, _} -> n == 'blank.png' end)
end
@@ -92,7 +92,7 @@ defmodule Pleroma.Web.EmojiAPI.EmojiAPIControllerTest do
)
|> text_response(200) == "ok"
- assert File.exists?("test/instance_static/emoji/test_pack2/pack.yml")
+ assert File.exists?("test/instance_static/emoji/test_pack2/pack.json")
assert File.exists?("test/instance_static/emoji/test_pack2/blank.png")
assert conn