projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f333041
)
Fix tests
author
Egor Kislitsyn
<egor@kislitsyn.com>
Fri, 24 May 2019 14:41:11 +0000
(21:41 +0700)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Fri, 24 May 2019 14:41:11 +0000
(21:41 +0700)
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 5d0d5a40e4c30aeaed1e8053bb87396995c93ef8..23b11d0153129462ca2915d70c56941a5747353e 100644
(file)
--- a/
test/web/activity_pub/activity_pub_test.exs
+++ b/
test/web/activity_pub/activity_pub_test.exs
@@
-1193,6
+1193,7
@@
defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
CommonAPI.post(user, %{"status" => "foobar", "visibility" => "list:#{list.id}"})
activity = Repo.preload(activity, :bookmark)
+ activity = %Activity{activity | thread_muted?: !!activity.thread_muted?}
assert ActivityPub.fetch_activities([], %{"user" => user}) == [activity]
end