diff options
author | kPherox <admin@mail.kr-kp.com> | 2019-10-01 02:24:06 +0900 |
---|---|---|
committer | kPherox <admin@mail.kr-kp.com> | 2019-10-01 02:24:06 +0900 |
commit | f364438032b387624ced6b53ec0666738aa199ca (patch) | |
tree | d7e1ebd16d1720105902790e17bcdbb358a4bcdc | |
parent | a0f101ee806af06bcd4271cd8d57d11ff85ea11a (diff) | |
download | pleroma-f364438032b387624ced6b53ec0666738aa199ca.tar.gz |
Add `rel="ugc"`
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs | 2 |
1 files changed, 1 insertions, 1 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 cdbacf46b..599cd61c8 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 @@ -362,7 +362,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do assert account["fields"] == [ %{"name" => "foo", "value" => "bar"}, - %{"name" => "link", "value" => "<a href=\"http://cofe.io\">cofe.io</a>"} + %{"name" => "link", "value" => ~S(<a href="http://cofe.io" rel="ugc">cofe.io</a>)} ] assert account["source"]["fields"] == [ |