|
|
|
@ -123,7 +123,8 @@ defmodule Pleroma.Web.StaticFE.StaticFEControllerTest do
|
|
|
|
|
assert html =~ ~s[<script>alert('xss')</script>]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
test "shows the whole thread", %{conn: conn, user: user} do
|
|
|
|
|
test "shows the whole thread", %{conn: conn} do
|
|
|
|
|
user = insert(:user)
|
|
|
|
|
{:ok, activity} = CommonAPI.post(user, %{"status" => "space: the final frontier"})
|
|
|
|
|
|
|
|
|
|
CommonAPI.post(user, %{
|
|
|
|
|