projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'features/remote-follow-userpage-redirect' into 'develop'
[akkoma]
/
test
/
web
/
mastodon_api
/
controllers
/
account_controller
/
update_credentials_test.exs
diff --git
a/test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs
b/test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs
index 09bdc46e0060d24eefea95a21b3212f997435189..82d9e7d2f118269d5d57387d2b12292c9a93b2a3 100644
(file)
--- a/
test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs
+++ b/
test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs
@@
-269,7
+269,7
@@
defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do
|> json_response(200)
assert account_data["fields"] == [
|> json_response(200)
assert account_data["fields"] == [
- %{"name" => "
foo
", "value" => "bar"},
+ %{"name" => "
<a href=\"http://google.com\">foo</a>
", "value" => "bar"},
%{"name" => "link", "value" => ~S(<a href="http://cofe.io" rel="ugc">cofe.io</a>)}
]
%{"name" => "link", "value" => ~S(<a href="http://cofe.io" rel="ugc">cofe.io</a>)}
]
@@
-297,7
+297,7
@@
defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do
|> json_response(200)
assert account["fields"] == [
|> json_response(200)
assert account["fields"] == [
- %{"name" => "
foo
", "value" => "bar"},
+ %{"name" => "
<a href=\"http://google.com\">foo</a>
", "value" => "bar"},
%{"name" => "link", "value" => ~S(<a href="http://cofe.io" rel="ugc">cofe.io</a>)}
]
%{"name" => "link", "value" => ~S(<a href="http://cofe.io" rel="ugc">cofe.io</a>)}
]