More fixes.
authorlain <lain@soykaf.club>
Sun, 20 May 2018 17:26:09 +0000 (19:26 +0200)
committerlain <lain@soykaf.club>
Sun, 20 May 2018 17:26:09 +0000 (19:26 +0200)
test/web/twitter_api/representers/activity_representer_test.exs

index bb47d440928d9f2742ea000a4106d3cf9636e320..16c6e7b0d49f0551250b9fe380f8b422ff42909d 100644 (file)
@@ -154,7 +154,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
       "tags" => ["nsfw", "content", "mentioning"],
       "activity_type" => "post",
       "possibly_sensitive" => true,
-      "uri" => activity.data["object"]["id"]
+      "uri" => activity.data["object"]["id"],
+      "visibility" => "direct"
     }
 
     assert ActivityRepresenter.to_map(activity, %{