projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into gun
[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..cba68859e4109052c8257a2cfa034603fa04eba2 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
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do
@@
-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>)}
]