projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
[akkoma]
/
test
/
object_test.exs
diff --git
a/test/object_test.exs
b/test/object_test.exs
index 0effb9505767d68b251b31f29b2423858184e3c9..72194975d7b25405bae21fedb1c7d9e93d0dedda 100644
(file)
--- a/
test/object_test.exs
+++ b/
test/object_test.exs
@@
-36,6
+36,8
@@
defmodule Pleroma.ObjectTest do
found_object = Object.get_by_ap_id(object.data["id"])
refute object == found_object
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
end
test "ensures cache is cleared for the object" do
@@
-51,6
+53,8
@@
defmodule Pleroma.ObjectTest do
cached_object = Object.get_cached_by_ap_id(object.data["id"])
refute object == cached_object
cached_object = Object.get_cached_by_ap_id(object.data["id"])
refute object == cached_object
+
+ assert cached_object.data["type"] == "Tombstone"
end
end
end
end
end
end