diff options
author | kaniini <nenolod@gmail.com> | 2018-12-27 19:37:55 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2018-12-27 19:37:55 +0000 |
commit | bee6acd51dc4e84e44caecf9d123dfff2f640a38 (patch) | |
tree | 2436614e22c005e7417cd863301f8b27fd919704 /test/object_test.exs | |
parent | cff0292d4b32cf51de8ad15281c35d783b137dd2 (diff) | |
parent | 012b7ab5e64eae468c630730f392ea8289a5d874 (diff) | |
download | pleroma-bee6acd51dc4e84e44caecf9d123dfff2f640a38.tar.gz |
Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
Create tombstone instead of object deletion
See merge request pleroma/pleroma!593
Diffstat (limited to 'test/object_test.exs')
-rw-r--r-- | test/object_test.exs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/object_test.exs b/test/object_test.exs index 0effb9505..72194975d 100644 --- 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 + + assert found_object.data["type"] == "Tombstone" 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 + + assert cached_object.data["type"] == "Tombstone" end end end |