summaryrefslogtreecommitdiff
path: root/test/web/common_api/common_api_test.exs
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-06-26 10:59:28 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-06-26 10:59:28 +0000
commit145bcf3eb9613f4673979ddce79455082398ae35 (patch)
treef1f602cc5ac0eecb22f397f5562338cfe01c6fab /test/web/common_api/common_api_test.exs
parent24bcc209f9c07c606dda083ff7f8b24ad3606eef (diff)
parentd53fb55bb76e06ca71a2d46fb6ce8c7d3e1494b0 (diff)
downloadpleroma-145bcf3eb9613f4673979ddce79455082398ae35.tar.gz
pleroma-145bcf3eb9613f4673979ddce79455082398ae35.zip
Merge branch 'fix/handle-wrong-visibility-error' into 'develop'
Return correct response when reply to a direct message is not direct itself Closes #1010 See merge request pleroma/pleroma!1336
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-rw-r--r--test/web/common_api/common_api_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs
index 7ff23b63d..e96106f11 100644
--- a/test/web/common_api/common_api_test.exs
+++ b/test/web/common_api/common_api_test.exs
@@ -121,7 +121,7 @@ defmodule Pleroma.Web.CommonAPITest do
})
Enum.each(["public", "private", "unlisted"], fn visibility ->
- assert {:error, {:private_to_public, _}} =
+ assert {:error, "The message visibility must be direct"} =
CommonAPI.post(user, %{
"status" => "suya..",
"visibility" => visibility,