projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: update obsolete test
[akkoma]
/
test
/
web
/
activity_pub
/
activity_pub_test.exs
diff --git
a/test/web/activity_pub/activity_pub_test.exs
b/test/web/activity_pub/activity_pub_test.exs
index 0f90aa1acb072585fed756c1f745536669d8de29..b41f6ab81e28a5a2b4111c090bf5d7459ad7bb68 100644
(file)
--- a/
test/web/activity_pub/activity_pub_test.exs
+++ b/
test/web/activity_pub/activity_pub_test.exs
@@
-968,7
+968,8
@@
defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
assert length(activities) == 3
assert length(activities) == 3
- activities = ActivityPub.contain_timeline(activities, user1)
+ activities =
+ ActivityPub.fetch_activities([user1.ap_id | user1.following], %{"user" => user1})
assert [public_activity, private_activity_1] == activities
assert length(activities) == 2
assert [public_activity, private_activity_1] == activities
assert length(activities) == 2