projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
325c7c9
)
rel me test: fix HTML so broken browsers (and therefore
author
rinpatch
<rinpatch@sdf.org>
Thu, 16 Jul 2020 18:09:48 +0000
(21:09 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Fri, 7 Aug 2020 13:45:33 +0000
(16:45 +0300)
lexbor) refuse to parse it like mochiweb does
test/web/metadata/rel_me_test.exs
patch
|
blob
|
history
diff --git
a/test/web/metadata/rel_me_test.exs
b/test/web/metadata/rel_me_test.exs
index ac75580145c6e6276430e687b602e69b355bc55d..2293d6e1344f854c023b4b49419eca1e292e67f8 100644
(file)
--- 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(<a href="https://some-link.com">https://some-link.com</a> <a rel="me" href="https://another-link.com">https://another-link.com</a> <link href="http://some.com"> <link rel="me" href="http://some3.com">)
+
user = insert(:user, %{bio: bio})
assert RelMe.build_tags(%{user: user}) == [