tests: flip testing to/cc for mentions

This commit is contained in:
William Pitcock 2018-11-08 19:17:15 +00:00
parent 4e93d6ae14
commit 719a8a1f82

View File

@ -48,7 +48,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do
"https://www.w3.org/ns/activitystreams#Public" "https://www.w3.org/ns/activitystreams#Public"
) )
assert Enum.member?(get_in(activity.data, ["cc"]), "shp") assert Enum.member?(get_in(activity.data, ["to"]), "shp")
assert activity.local == true assert activity.local == true
assert %{"moominmamma" => "http://localhost:4001/finmoji/128px/moominmamma-128.png"} = assert %{"moominmamma" => "http://localhost:4001/finmoji/128px/moominmamma-128.png"} =