|
|
@ -564,6 +564,13 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
|
|
|
|
user_three = insert(:user, %{nickname: "shp@heldscal.la", name: "I love 2hu"})
|
|
|
|
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"})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{:ok, _activity} =
|
|
|
|
|
|
|
|
CommonAPI.post(user, %{
|
|
|
|
|
|
|
|
"status" => "This is about 2hu, but private",
|
|
|
|
|
|
|
|
"visibility" => "private"
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
{:ok, _} = CommonAPI.post(user_two, %{"status" => "This isn't"})
|
|
|
|
{:ok, _} = CommonAPI.post(user_two, %{"status" => "This isn't"})
|
|
|
|
|
|
|
|
|
|
|
|
conn =
|
|
|
|
conn =
|
|
|
|