diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-07-27 20:36:31 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-07-27 20:36:31 -0500 |
commit | f688c8df82b955b50552b3198ddc153a716451c2 (patch) | |
tree | f7235592a050ca8b43b484cab238e486ee2e58fd /test/web/mastodon_api/controllers/account_controller_test.exs | |
parent | f43518eb7433a6c50d635d6536c3fbe3a37ea82b (diff) | |
download | pleroma-f688c8df82b955b50552b3198ddc153a716451c2.tar.gz pleroma-f688c8df82b955b50552b3198ddc153a716451c2.zip |
Fix User.registration_reason HTML sanitizing issues
Diffstat (limited to 'test/web/mastodon_api/controllers/account_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/controllers/account_controller_test.exs b/test/web/mastodon_api/controllers/account_controller_test.exs index 1ba5bc964..e6b283aab 100644 --- a/test/web/mastodon_api/controllers/account_controller_test.exs +++ b/test/web/mastodon_api/controllers/account_controller_test.exs @@ -1017,7 +1017,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do password: "PlzDontHackLain", bio: "Test Bio", agreement: true, - reason: "I am a cool dude, bro" + reason: "I'm a cool dude, bro" }) %{ @@ -1035,7 +1035,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do assert token_from_db.user.confirmation_pending assert token_from_db.user.approval_pending - assert token_from_db.user.registration_reason == "I am a cool dude, bro" + assert token_from_db.user.registration_reason == "I'm a cool dude, bro" end test "returns error when user already registred", %{conn: conn, valid_params: valid_params} do |