projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c1f28
)
Fix format.
author
lain
<lain@soykaf.club>
Sun, 13 May 2018 11:02:24 +0000
(13:02 +0200)
committer
lain
<lain@soykaf.club>
Sun, 13 May 2018 11:02:24 +0000
(13:02 +0200)
test/web/activity_pub/activity_pub_test.exs
patch
|
blob
|
history
diff --git
a/test/web/activity_pub/activity_pub_test.exs
b/test/web/activity_pub/activity_pub_test.exs
index a39ba9adb1d2c7a94a93a149701bae492a497e16..c1ba626b7c2f145f7cffe91619dade21ca574ba3 100644
(file)
--- a/
test/web/activity_pub/activity_pub_test.exs
+++ b/
test/web/activity_pub/activity_pub_test.exs
@@
-173,7
+173,10
@@
defmodule Pleroma.Web.ActivityPub.ActivityPubTest 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()