Only search in public data for now.
[akkoma] / test / web / mastodon_api / mastodon_api_controller_test.exs
index 2c9cdd194e9ba93ee630965319843c1d992054d2..5d39c25c617540f32719e80ea894989efbb42628 100644 (file)
@@ -564,6 +564,13 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
     user_three = insert(:user, %{nickname: "shp@heldscal.la", name: "I love 2hu"})
 
     {:ok, activity} = CommonAPI.post(user, %{"status" => "This is about 2hu"})
+
+    {:ok, _activity} =
+      CommonAPI.post(user, %{
+        "status" => "This is about 2hu, but private",
+        "visibility" => "private"
+      })
+
     {:ok, _} = CommonAPI.post(user_two, %{"status" => "This isn't"})
 
     conn =