fix for use of published from different entities

This commit is contained in:
Alexander Strizhakov 2020-04-16 18:05:36 +03:00
commit 4d330d9df1
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
6 changed files with 28 additions and 32 deletions

View file

@ -150,8 +150,8 @@ defmodule Pleroma.Web.Feed.TagControllerTest do
obj2 = Object.normalize(activity2)
assert xpath(xml, ~x"//channel/item/description/text()"sl) == [
HtmlEntities.decode(FeedView.activity_content(obj2)),
HtmlEntities.decode(FeedView.activity_content(obj1))
HtmlEntities.decode(FeedView.activity_content(obj2.data)),
HtmlEntities.decode(FeedView.activity_content(obj1.data))
]
response =