From: rinpatch Date: Thu, 16 Jul 2020 18:09:48 +0000 (+0300) Subject: rel me test: fix HTML so broken browsers (and therefore X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7e23a48d38da50f1653f37c65610623f585ada9e;p=akkoma rel me test: fix HTML so broken browsers (and therefore lexbor) refuse to parse it like mochiweb does --- diff --git a/test/web/metadata/rel_me_test.exs b/test/web/metadata/rel_me_test.exs index ac7558014..2293d6e13 100644 --- a/test/web/metadata/rel_me_test.exs +++ b/test/web/metadata/rel_me_test.exs @@ -10,6 +10,7 @@ defmodule Pleroma.Web.Metadata.Providers.RelMeTest do test "it renders all links with rel='me' from user bio" do bio = ~s(https://some-link.com https://another-link.com ) + user = insert(:user, %{bio: bio}) assert RelMe.build_tags(%{user: user}) == [