Format
This commit is contained in:
parent
ca2e9ce9cc
commit
340dd7a75e
@ -20,8 +20,7 @@ defmodule Pleroma.ActivityTest 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 New Issue
Block a user