1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-25 04:53:06 +00:00

static-fe tests: fix to work on stable

This commit is contained in:
rinpatch 2020-03-16 00:17:28 +03:00
parent c46d035f7b
commit e25197788f

View file

@ -123,7 +123,8 @@ test "filters HTML tags", %{conn: conn} 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, %{