aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-16 15:27:35 +0200
committerlain <lain@soykaf.club>2020-04-16 15:27:35 +0200
commitca598e9c27a7a66b014523845e62046d19364f2f (patch)
tree04b053dd21663ac775816a3f719d5e716b119a43 /test
parente2ced0491770d6260fe51d5144b81200fd97f268 (diff)
downloadpleroma-ca598e9c27a7a66b014523845e62046d19364f2f.tar.gz
AccountView: Return user ap_id.
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index 4435f69ff..2be0d8d0f 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -82,6 +82,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
fields: []
},
pleroma: %{
+ ap_id: user.ap_id,
background_image: "https://example.com/images/asuka_hospital.png",
confirmation_pending: false,
tags: [],
@@ -152,6 +153,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
fields: []
},
pleroma: %{
+ ap_id: user.ap_id,
background_image: nil,
confirmation_pending: false,
tags: [],
@@ -351,6 +353,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
fields: []
},
pleroma: %{
+ ap_id: user.ap_id,
background_image: nil,
confirmation_pending: false,
tags: [],