aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-03-16 00:17:28 +0300
committerrinpatch <rinpatch@sdf.org>2020-03-16 00:17:28 +0300
commite25197788f05071a95daed5a6959c1b46aa69098 (patch)
tree22cbb5e5e538c0edd149bece43ded7711f093cdb
parentc46d035f7bc79f451c8b2356f3b809c29684cfe4 (diff)
downloadpleroma-e25197788f05071a95daed5a6959c1b46aa69098.tar.gz
static-fe tests: fix to work on stable
-rw-r--r--test/web/static_fe/static_fe_controller_test.exs3
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[&lt;script&gt;alert(&#39;xss&#39;)&lt;/script&gt;]
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, %{