diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-02-11 13:54:55 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-02-11 13:54:55 +0400 |
commit | 6875ccb6bfcc5ae62db26d38c3d5eac4c6f8706a (patch) | |
tree | dacb02d953473e3a0c6aeec58d86fb7fb1ed5886 /test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs | |
parent | 3c4a30c6db312aff2afbfcd423498be19c02c68c (diff) | |
parent | 5ebffd5224729413e53a55ddda9a1f86224d7d73 (diff) | |
download | pleroma-6875ccb6bfcc5ae62db26d38c3d5eac4c6f8706a.tar.gz pleroma-6875ccb6bfcc5ae62db26d38c3d5eac4c6f8706a.zip |
Merge branch 'develop' into feature/new-registrations-digest
Diffstat (limited to 'test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
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 09bdc46e0..82d9e7d2f 100644 --- 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"] == [ - %{"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>)} ] @@ -297,7 +297,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do |> 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>)} ] |