diff options
| author | Alex Gleason <alex@alexgleason.me> | 2020-09-11 14:13:38 -0500 |
|---|---|---|
| committer | Alex Gleason <alex@alexgleason.me> | 2020-09-11 14:13:38 -0500 |
| commit | 9733c9d06563a92e4c58ac906c5f98b617b9e731 (patch) | |
| tree | abbf03ddb917c1c203cb79eab64647d3af541fff /test/web/activity_pub/object_validators | |
| parent | dfb831ca39db3098d6d585448a6ff8e938e51e8c (diff) | |
| parent | 9fb88c814ddadd9138ef29550a856938491a1ca4 (diff) | |
| download | pleroma-9733c9d06563a92e4c58ac906c5f98b617b9e731.tar.gz pleroma-9733c9d06563a92e4c58ac906c5f98b617b9e731.zip | |
Merge remote-tracking branch 'upstream/develop' into chat-moderation
Diffstat (limited to 'test/web/activity_pub/object_validators')
| -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", %{ |
