forked from AkkomaGang/akkoma
Fix format.
This commit is contained in:
parent
94c1f28ba4
commit
89954a2ce7
1 changed files with 4 additions and 1 deletions
|
@ -173,7 +173,10 @@ test "doesn't return blocked activities" do
|
||||||
describe "public fetch activities" do
|
describe "public fetch activities" do
|
||||||
test "doesn't retrieve unlisted activities" do
|
test "doesn't retrieve unlisted activities" do
|
||||||
user = insert(:user)
|
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"})
|
{:ok, listed_activity} = CommonAPI.post(user, %{"status" => "yeah"})
|
||||||
|
|
||||||
[activity] = ActivityPub.fetch_public_activities()
|
[activity] = ActivityPub.fetch_public_activities()
|
||||||
|
|
Loading…
Reference in a new issue