projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add status text to notifications (mentions and reposts)
[akkoma]
/
test
/
activity_test.exs
diff --git
a/test/activity_test.exs
b/test/activity_test.exs
index 36c718869cc5acde56ac301ec69066faba1e2bff..ad889f544830a5ed8463312461c5ee35bdd3b7af 100644
(file)
--- a/
test/activity_test.exs
+++ b/
test/activity_test.exs
@@
-16,7
+16,7
@@
defmodule Pleroma.ActivityTest do
test "returns activities by it's objects AP ids" do
activity = insert(:note_activity)
test "returns activities by it's objects AP ids" do
activity = insert(:note_activity)
- [found_activity] = Activity.
all
_by_object_ap_id(activity.data["object"]["id"])
+ [found_activity] = Activity.
get_all_create
_by_object_ap_id(activity.data["object"]["id"])
assert activity == found_activity
end
assert activity == found_activity
end
@@
-24,7
+24,7
@@
defmodule Pleroma.ActivityTest do
test "returns the activity that created an object" do
activity = insert(:note_activity)
test "returns the activity that created an object" do
activity = insert(:note_activity)
- found_activity = Activity.get_create_
activity_
by_object_ap_id(activity.data["object"]["id"])
+ found_activity = Activity.get_create_by_object_ap_id(activity.data["object"]["id"])
assert activity == found_activity
end
assert activity == found_activity
end