summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/object_validators/chat_validation_test.exs
diff options
context:
space:
mode:
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.exs1
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", %{