diff options
author | rinpatch <rinpatch@sdf.org> | 2020-03-16 00:17:28 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-03-16 00:17:28 +0300 |
commit | e25197788f05071a95daed5a6959c1b46aa69098 (patch) | |
tree | 22cbb5e5e538c0edd149bece43ded7711f093cdb | |
parent | c46d035f7bc79f451c8b2356f3b809c29684cfe4 (diff) | |
download | pleroma-e25197788f05071a95daed5a6959c1b46aa69098.tar.gz |
static-fe tests: fix to work on stable
-rw-r--r-- | test/web/static_fe/static_fe_controller_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/static_fe/static_fe_controller_test.exs b/test/web/static_fe/static_fe_controller_test.exs index a3be90888..2c999295a 100644 --- a/test/web/static_fe/static_fe_controller_test.exs +++ b/test/web/static_fe/static_fe_controller_test.exs @@ -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, %{ |