Fix format.

This commit is contained in:
lain 2018-05-13 13:02:24 +02:00
parent 94c1f28ba4
commit 89954a2ce7

View file

@ -173,7 +173,10 @@ test "doesn't return blocked activities" do
describe "public fetch activities" do
test "doesn't retrieve unlisted activities" do
user = insert(:user)
{:ok, unlisted_activity} = CommonAPI.post(user, %{"status" => "yeah", "visibility" => "unlisted"})
{:ok, unlisted_activity} =
CommonAPI.post(user, %{"status" => "yeah", "visibility" => "unlisted"})
{:ok, listed_activity} = CommonAPI.post(user, %{"status" => "yeah"})
[activity] = ActivityPub.fetch_public_activities()