Encapsulation of tags / hashtags fetching from objects.
This commit is contained in:
parent
8e1f32e715
commit
ee221277b0
12 changed files with 78 additions and 39 deletions
|
|
@ -493,7 +493,7 @@ defmodule Pleroma.Web.CommonAPITest do
|
|||
|
||||
object = Object.normalize(activity)
|
||||
|
||||
assert object.data["tag"] == ["2hu"]
|
||||
assert Object.tags(object) == ["2hu"]
|
||||
end
|
||||
|
||||
test "it adds emoji in the object" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue