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/web/mastodon_api/mastodon_api_controller_test.exs | |
parent | cff0292d4b32cf51de8ad15281c35d783b137dd2 (diff) | |
parent | 012b7ab5e64eae468c630730f392ea8289a5d874 (diff) | |
download | pleroma-bee6acd51dc4e84e44caecf9d123dfff2f640a38.tar.gz pleroma-bee6acd51dc4e84e44caecf9d123dfff2f640a38.zip |
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/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 1737a5ebe..0136acf8c 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -296,7 +296,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do assert %{} = json_response(conn, 200) - assert Repo.get(Activity, activity.id) == nil + refute Repo.get(Activity, activity.id) end test "when you didn't create it", %{conn: conn} do |