aboutsummaryrefslogtreecommitdiff
path: root/test/user_test.exs
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2018-12-24 02:25:36 +0300
committerMaxim Filippov <colixer@gmail.com>2018-12-24 02:25:36 +0300
commit0f412cf6e68fcebda3e94b71b7f182af689748bf (patch)
tree66110c6e22d5184c05eed987a3f940bbe05b9af5 /test/user_test.exs
parent61a88a6757bc557a370888d288f93681cff9668b (diff)
downloadpleroma-0f412cf6e68fcebda3e94b71b7f182af689748bf.tar.gz
Create tombstone instead of object deletion
Diffstat (limited to 'test/user_test.exs')
-rw-r--r--test/user_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/user_test.exs b/test/user_test.exs
index b4d8174c6..43a3687ec 100644
--- a/test/user_test.exs
+++ b/test/user_test.exs
@@ -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