diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-05-22 07:22:19 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-05-22 07:22:19 +0200 |
commit | 0e2c215a006c7ca5756e80a357ff6395a4325946 (patch) | |
tree | 15295e9811d4c4c23b583d3c457a4633f702ed01 /test | |
parent | b30b51c3b792cc2aaf39902809bea84bd9b574a9 (diff) | |
download | pleroma-0e2c215a006c7ca5756e80a357ff6395a4325946.tar.gz pleroma-0e2c215a006c7ca5756e80a357ff6395a4325946.zip |
MastoAPI AccountView: fill source.note with plaintext version of note
Closes: https://git.pleroma.social/pleroma/pleroma/issues/926
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/account_view_test.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs index a24f2a050..aaf2261bb 100644 --- a/test/web/mastodon_api/account_view_test.exs +++ b/test/web/mastodon_api/account_view_test.exs @@ -55,7 +55,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do fields: [], bot: false, source: %{ - note: "", + note: "valid html", sensitive: false, pleroma: %{} }, @@ -120,7 +120,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do fields: [], bot: true, source: %{ - note: "", + note: user.bio, sensitive: false, pleroma: %{} }, @@ -209,7 +209,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do fields: [], bot: true, source: %{ - note: "", + note: user.bio, sensitive: false, pleroma: %{} }, |