aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/web/common_api
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-07-31 16:46:35 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-12-22 05:15:34 +0100
commitacb03d591bea1b20a715201f479f1ad7bf7bb67b (patch)
tree4ec82e0b7116e8accd8c344c5834781f65ac5990 /test/pleroma/web/common_api
parent8e1f32e71560c4b36ccbdc3ecf8de8386928305a (diff)
downloadpleroma-acb03d591bea1b20a715201f479f1ad7bf7bb67b.tar.gz
Insert text representation of hashtags into object["hashtags"]
Includes a new mix task: pleroma.database fill_old_hashtags
Diffstat (limited to 'test/pleroma/web/common_api')
-rw-r--r--test/pleroma/web/common_api/utils_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pleroma/web/common_api/utils_test.exs b/test/pleroma/web/common_api/utils_test.exs
index 4d6c9ea26..211042192 100644
--- a/test/pleroma/web/common_api/utils_test.exs
+++ b/test/pleroma/web/common_api/utils_test.exs
@@ -591,7 +591,8 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do
"context" => "2hu",
"sensitive" => false,
"summary" => "test summary",
- "tag" => ["jimm"],
+ "hashtags" => ["jimm"],
+ "tag" => [],
"to" => [user2.ap_id],
"type" => "Note",
"custom_tag" => "test"