diff options
author | Sergey Suprunenko <suprunenko.s@gmail.com> | 2019-06-26 10:59:27 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2019-06-26 10:59:27 +0000 |
commit | d53fb55bb76e06ca71a2d46fb6ce8c7d3e1494b0 (patch) | |
tree | f1f602cc5ac0eecb22f397f5562338cfe01c6fab /test/web/common_api/common_api_test.exs | |
parent | 24bcc209f9c07c606dda083ff7f8b24ad3606eef (diff) | |
download | pleroma-d53fb55bb76e06ca71a2d46fb6ce8c7d3e1494b0.tar.gz pleroma-d53fb55bb76e06ca71a2d46fb6ce8c7d3e1494b0.zip |
Return correct response when reply to a direct message is not direct itself
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-rw-r--r-- | test/web/common_api/common_api_test.exs | 2 |
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, |