diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-11-25 22:49:39 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-12-04 04:52:09 +0000 |
commit | f7e15d3257c0428ba9d37bdbbd45aa5fe6829a1b (patch) | |
tree | a2d35da50d53d97239e6e702e2988fc03046ba84 /test/web/common_api | |
parent | 4ca4c83871a6026ba0e4eb148e99b352edbadb5b (diff) | |
download | pleroma-f7e15d3257c0428ba9d37bdbbd45aa5fe6829a1b.tar.gz |
tests: fix a lot of the remaining test failures
Diffstat (limited to 'test/web/common_api')
-rw-r--r-- | test/web/common_api/common_api_test.exs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index 3f81d952c..3dc5f6f84 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -36,8 +36,7 @@ defmodule Pleroma.Web.CommonAPI.Test do "content_type" => "text/html" }) - object = - Object.normalize(activity.data["object"]) + object = Object.normalize(activity.data["object"]) assert object.data["content"] == "<p><b>2hu</b></p>alert('xss')" end @@ -53,8 +52,7 @@ defmodule Pleroma.Web.CommonAPI.Test do "content_type" => "text/markdown" }) - object = - Object.normalize(activity.data["object"]) + object = Object.normalize(activity.data["object"]) assert object.data["content"] == "<p><b>2hu</b></p>alert('xss')" end |