Create tombstone instead of object deletion
This commit is contained in:
parent
61a88a6757
commit
0f412cf6e6
8 changed files with 74 additions and 8 deletions
|
|
@ -292,7 +292,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
|
|||
|
||||
assert %{} = json_response(conn, 200)
|
||||
|
||||
assert Repo.get(Activity, activity.id) == nil
|
||||
assert Repo.get(Activity, activity.id).data["type"] == "tombstone"
|
||||
end
|
||||
|
||||
test "when you didn't create it", %{conn: conn} do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue