forked from AkkomaGang/akkoma
Format
This commit is contained in:
parent
ca2e9ce9cc
commit
340dd7a75e
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@ test "returns activities by it's objects AP ids" do
|
||||||
test "returns the activity that created an object" do
|
test "returns the activity that created an object" do
|
||||||
activity = insert(:note_activity)
|
activity = insert(:note_activity)
|
||||||
|
|
||||||
found_activity =
|
found_activity = Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
|
||||||
Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
|
|
||||||
|
|
||||||
assert activity == found_activity
|
assert activity == found_activity
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue