diff options
Diffstat (limited to 'test/web/mastodon_api/views')
| -rw-r--r-- | test/web/mastodon_api/views/account_view_test.exs | 5 | 
1 files changed, 4 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 a83bf90a3..4a0512e68 100644 --- a/test/web/mastodon_api/views/account_view_test.exs +++ b/test/web/mastodon_api/views/account_view_test.exs @@ -37,7 +37,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do            "<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"}, -        raw_bio: "valid html. a\nb\nc\nd\nf '&<>\"" +        raw_bio: "valid html. a\nb\nc\nd\nf '&<>\"", +        ap_aliases: ["https://shitposter.zone/users/shp"]        })      expected = %{ @@ -77,6 +78,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do        },        pleroma: %{          ap_id: user.ap_id, +        ap_aliases: ["https://shitposter.zone/users/shp"],          background_image: "https://example.com/images/asuka_hospital.png",          favicon:            "https://shitposter.club/plugins/Qvitter/img/gnusocial-favicons/favicon-16x16.png", @@ -171,6 +173,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do        },        pleroma: %{          ap_id: user.ap_id, +        ap_aliases: [],          background_image: nil,          favicon:            "https://shitposter.club/plugins/Qvitter/img/gnusocial-favicons/favicon-16x16.png",  | 
