aboutsummaryrefslogtreecommitdiff
path: root/test/web/common_api
diff options
context:
space:
mode:
Diffstat (limited to 'test/web/common_api')
-rw-r--r--test/web/common_api/common_api_test.exs6
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