diff options
author | lain <lain@soykaf.club> | 2020-07-03 15:06:33 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-07-03 15:06:33 +0000 |
commit | c2a052a346d5104c3657343a885255d4d7179c75 (patch) | |
tree | ef282dbf322252db36851cf021e2cf67bd18e013 /test/web/common_api/common_api_test.exs | |
parent | 9a27ef47f1a3a95952f9c9b416e190f86b91b0ee (diff) | |
parent | cbf2fe9649da34e78ddbc0f11c3fcc2599aa1c7a (diff) | |
download | pleroma-c2a052a346d5104c3657343a885255d4d7179c75.tar.gz pleroma-c2a052a346d5104c3657343a885255d4d7179c75.zip |
Merge branch 'features/mastoapi-2.9.0-status_text' into 'develop'
MastoAPI 2.9.0: status text on deletion
See merge request pleroma/pleroma!2690
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, 2 insertions, 0 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index fc3bb845d..908ee5484 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -491,6 +491,7 @@ defmodule Pleroma.Web.CommonAPITest do object = Object.normalize(activity) assert object.data["content"] == "<p><b>2hu</b></p>alert('xss')" + assert object.data["source"] == post end test "it filters out obviously bad tags when accepting a post as Markdown" do @@ -507,6 +508,7 @@ defmodule Pleroma.Web.CommonAPITest do object = Object.normalize(activity) assert object.data["content"] == "<p><b>2hu</b></p>alert('xss')" + assert object.data["source"] == post end test "it does not allow replies to direct messages that are not direct messages themselves" do |