diff options
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 |