diff options
| author | lain <lain@soykaf.club> | 2020-05-29 12:36:17 +0200 | 
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-05-29 12:36:17 +0200 | 
| commit | af6d01ec93a07cd896bc4f0a2c2cf437c6fd51fc (patch) | |
| tree | 54e02858d0fa9ca905ffe5a057c9f0accbeae115 /test/tasks | |
| parent | dbd07d29a358a446d87078d60b993a59b757ad1d (diff) | |
| parent | 396bc69aeef951f163c0c20474ce4653df1dd667 (diff) | |
| download | pleroma-af6d01ec93a07cd896bc4f0a2c2cf437c6fd51fc.tar.gz pleroma-af6d01ec93a07cd896bc4f0a2c2cf437c6fd51fc.zip | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'test/tasks')
| -rw-r--r-- | test/tasks/emoji_test.exs | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/test/tasks/emoji_test.exs b/test/tasks/emoji_test.exs index f5de3ef0e..499f098c2 100644 --- a/test/tasks/emoji_test.exs +++ b/test/tasks/emoji_test.exs @@ -73,6 +73,19 @@ defmodule Mix.Tasks.Pleroma.EmojiTest do        on_exit(fn -> File.rm_rf!("test/instance_static/emoji/finmoji") end)      end +    test "install local emoji pack" do +      assert capture_io(fn -> +               Emoji.run([ +                 "get-packs", +                 "local", +                 "--manifest", +                 "test/instance_static/local_pack/manifest.json" +               ]) +             end) =~ "Writing pack.json for" + +      on_exit(fn -> File.rm_rf!("test/instance_static/emoji/local") end) +    end +      test "pack not found" do        mock(fn          %{ | 
