summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/views
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2020-08-07 16:48:03 -0500
committerAlex Gleason <alex@alexgleason.me>2020-08-07 17:37:15 -0500
commit4af1b803811cbb59d41f0149706d6dda340b4755 (patch)
tree85705dc639c4b0c2680be6336d7441f79eced079 /test/web/mastodon_api/views
parent1a5a7ba6e8a936d3138ca530d3466111e542aef6 (diff)
downloadpleroma-4af1b803811cbb59d41f0149706d6dda340b4755.tar.gz
pleroma-4af1b803811cbb59d41f0149706d6dda340b4755.zip
Clean up account aliases
Diffstat (limited to 'test/web/mastodon_api/views')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index a55b5a06e..bbf7b33a8 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -38,7 +38,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
inserted_at: ~N[2017-08-15 15:47:06.597036],
emoji: %{"karjalanpiirakka" => "/file.png"},
raw_bio: "valid html. a\nb\nc\nd\nf '&<>\"",
- ap_aliases: ["https://shitposter.zone/users/shp"]
+ also_known_as: ["https://shitposter.zone/users/shp"]
})
expected = %{
@@ -78,7 +78,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
},
pleroma: %{
ap_id: user.ap_id,
- ap_aliases: ["https://shitposter.zone/users/shp"],
+ also_known_as: ["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",
@@ -174,7 +174,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
},
pleroma: %{
ap_id: user.ap_id,
- ap_aliases: [],
+ also_known_as: [],
background_image: nil,
favicon:
"https://shitposter.club/plugins/Qvitter/img/gnusocial-favicons/favicon-16x16.png",