diff options
| author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-03-23 22:52:25 +0100 |
|---|---|---|
| committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-06-06 16:23:16 +0200 |
| commit | e1b07402ab077899dd5b9c0023fbe1c48af259e9 (patch) | |
| tree | ab438cb25c66419223c7c5501e809983384cf801 /test/web/mastodon_api/views | |
| parent | d74985af2381b1c0dae2bc9c79c14582e5c61b97 (diff) | |
| download | pleroma-e1b07402ab077899dd5b9c0023fbe1c48af259e9.tar.gz pleroma-e1b07402ab077899dd5b9c0023fbe1c48af259e9.zip | |
User: Add raw_bio, storing unformatted bio
Related: https://git.pleroma.social/pleroma/pleroma/issues/1643
Diffstat (limited to 'test/web/mastodon_api/views')
| -rw-r--r-- | test/web/mastodon_api/views/account_view_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs index f91333e5c..7ac70dc58 100644 --- a/test/web/mastodon_api/views/account_view_test.exs +++ b/test/web/mastodon_api/views/account_view_test.exs @@ -33,7 +33,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do bio: "<script src=\"invalid-html\"></script><span>valid html</span>. a<br>b<br/>c<br >d<br />f '&<>\"", inserted_at: ~N[2017-08-15 15:47:06.597036], - emoji: %{"karjalanpiirakka" => "/file.png"} + emoji: %{"karjalanpiirakka" => "/file.png"}, + raw_bio: "valid html. a\nb\nc\nd\nf '&<>\"" }) expected = %{ |
