Revert Activity tombstones, add ObjectTombstone struct
This commit is contained in:
parent
2bbec33c71
commit
f75f707f6c
9 changed files with 43 additions and 62 deletions
|
|
@ -32,6 +32,8 @@ defmodule Pleroma.ObjectTest do
|
|||
found_object = Object.get_by_ap_id(object.data["id"])
|
||||
|
||||
refute object == found_object
|
||||
|
||||
assert found_object.data["type"] == "Tombstone"
|
||||
end
|
||||
|
||||
test "ensures cache is cleared for the object" do
|
||||
|
|
@ -47,6 +49,8 @@ defmodule Pleroma.ObjectTest do
|
|||
cached_object = Object.get_cached_by_ap_id(object.data["id"])
|
||||
|
||||
refute object == cached_object
|
||||
|
||||
assert cached_object.data["type"] == "Tombstone"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue