diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-08-25 01:16:12 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-09-01 08:34:57 +0200 |
commit | a142da3e4f03f2bfee7af30cca59b0fdc82da73f (patch) | |
tree | 7fdc266a4a2a4efc76eb1decbc5acefb9df32cfb /test/web/activity_pub/object_validators/chat_validation_test.exs | |
parent | 2ecc7d92308d624dc9edb50665d752a71f55f608 (diff) | |
download | pleroma-a142da3e4f03f2bfee7af30cca59b0fdc82da73f.tar.gz pleroma-a142da3e4f03f2bfee7af30cca59b0fdc82da73f.zip |
Add new Emoji Ecto.Type and fix emoji in Question
Diffstat (limited to 'test/web/activity_pub/object_validators/chat_validation_test.exs')
-rw-r--r-- | test/web/activity_pub/object_validators/chat_validation_test.exs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/activity_pub/object_validators/chat_validation_test.exs b/test/web/activity_pub/object_validators/chat_validation_test.exs index 50bf03515..16e4808e5 100644 --- a/test/web/activity_pub/object_validators/chat_validation_test.exs +++ b/test/web/activity_pub/object_validators/chat_validation_test.exs @@ -69,6 +69,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.ChatValidationTest do assert {:ok, object, _meta} = ObjectValidator.validate(valid_chat_message, []) assert Map.put(valid_chat_message, "attachment", nil) == object + assert match?(%{"firefox" => _}, object["emoji"]) end test "validates for a basic object with an attachment", %{ |