diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-12-30 06:30:08 +0100 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2021-01-12 21:01:32 +0400 |
commit | 6a1ad8dba4a90cd50953414649c32707c77fa54f (patch) | |
tree | 2bafebdc58084ebfab74a5420ea3b74a41fa5d46 /test/pleroma | |
parent | 420efb844f5e0f629bbbecd4720e0af949671591 (diff) | |
download | pleroma-features/validators-note-2.tar.gz |
Fixup tagsfeatures/validators-note-2
Diffstat (limited to 'test/pleroma')
-rw-r--r-- | test/pleroma/web/activity_pub/transmogrifier/note_handling_test.exs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pleroma/web/activity_pub/transmogrifier/note_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/note_handling_test.exs index 09b5b3809..eea9443d7 100644 --- a/test/pleroma/web/activity_pub/transmogrifier/note_handling_test.exs +++ b/test/pleroma/web/activity_pub/transmogrifier/note_handling_test.exs @@ -39,7 +39,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.NoteHandlingTest do {:ok, %Activity{data: data, local: false}} = Transmogrifier.handle_incoming(data) object = Object.normalize(data["object"]) - assert "test" in Object.tags(object) assert Object.hashtags(object) == ["test"] end @@ -193,7 +192,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.NoteHandlingTest do "href" => "http://mastodon.example.org/tags/moo", "name" => "#moo", "type" => "Hashtag" - } == object.data["tag"] + } == Enum.at(object.data["tag"], 1) end test "it works for incoming notices with contentMap" do |