diff options
author | Maxim Filippov <colixer@gmail.com> | 2018-12-24 02:25:36 +0300 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2018-12-24 02:25:36 +0300 |
commit | 0f412cf6e68fcebda3e94b71b7f182af689748bf (patch) | |
tree | 66110c6e22d5184c05eed987a3f940bbe05b9af5 /test/web/mastodon_api/mastodon_api_controller_test.exs | |
parent | 61a88a6757bc557a370888d288f93681cff9668b (diff) | |
download | pleroma-0f412cf6e68fcebda3e94b71b7f182af689748bf.tar.gz pleroma-0f412cf6e68fcebda3e94b71b7f182af689748bf.zip |
Create tombstone instead of object deletion
Diffstat (limited to 'test/web/mastodon_api/mastodon_api_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index aec0f851c..6c6cc2a00 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -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 |