projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Connection Pool: fix LRFU implementation to not actually be LRU
[akkoma]
/
test
/
object_test.exs
diff --git
a/test/object_test.exs
b/test/object_test.exs
index fe583decd7ed1d591cc8975af6d95619b46d015e..198d3b1cf1ac969016e0ca5effc2f0000ee9210b 100644
(file)
--- a/
test/object_test.exs
+++ b/
test/object_test.exs
@@
-380,7
+380,8
@@
defmodule Pleroma.ObjectTest do
user = insert(:user)
activity = Activity.get_create_by_object_ap_id(object.data["id"])
user = insert(:user)
activity = Activity.get_create_by_object_ap_id(object.data["id"])
- {:ok, _activity, object} = CommonAPI.favorite(activity.id, user)
+ {:ok, activity} = CommonAPI.favorite(user, activity.id)
+ object = Object.get_by_ap_id(activity.data["object"])
assert object.data["like_count"] == 1
assert object.data["like_count"] == 1