Visibility: check Tombstone objects in visible_for_user?/2
[akkoma] / test / pleroma / web / common_api / utils_test.exs
index 2110421927ccc60620f7082e76ef964b2fc73f26..f2043e15220e447ca327e347d9913f9f0e053cf7 100644 (file)
@@ -1,5 +1,5 @@
 # Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Web.CommonAPI.UtilsTest do
@@ -591,8 +591,7 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do
                "context" => "2hu",
                "sensitive" => false,
                "summary" => "test summary",
-               "hashtags" => ["jimm"],
-               "tag" => [],
+               "tag" => ["jimm"],
                "to" => [user2.ap_id],
                "type" => "Note",
                "custom_tag" => "test"