Create tombstone instead of object deletion
This commit is contained in:
parent
61a88a6757
commit
0f412cf6e6
8 changed files with 74 additions and 8 deletions
|
|
@ -625,7 +625,7 @@ defmodule Pleroma.UserTest do
|
|||
|
||||
# TODO: Remove favorites, repeats, delete activities.
|
||||
|
||||
refute Repo.get(Activity, activity.id)
|
||||
assert Repo.get(Activity, activity.id).data["type"] == "tombstone"
|
||||
end
|
||||
|
||||
test "get_public_key_for_ap_id fetches a user that's not in the db" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue