summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2018-12-18 14:07:05 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2018-12-18 17:22:45 +0300
commitaed0f902871524ecc1db0d8c088ce5939e7c685a (patch)
tree721be8fc2f057fcc8da719ed795dc311147a838b /test/web/mastodon_api
parentb86057cc7f45c79767ff5b83730c2c15ad6bb3bd (diff)
downloadpleroma-aed0f902871524ecc1db0d8c088ce5939e7c685a.tar.gz
pleroma-aed0f902871524ecc1db0d8c088ce5939e7c685a.zip
[#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
Diffstat (limited to 'test/web/mastodon_api')
-rw-r--r--test/web/mastodon_api/account_view_test.exs10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs
index 3cb9b9c5b..fec97c700 100644
--- a/test/web/mastodon_api/account_view_test.exs
+++ b/test/web/mastodon_api/account_view_test.exs
@@ -55,7 +55,10 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
privacy: "public",
sensitive: false
},
- pleroma: %{tags: []}
+ pleroma: %{
+ confirmation_pending: false,
+ tags: []
+ }
}
assert expected == AccountView.render("account.json", %{user: user})
@@ -93,7 +96,10 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
privacy: "public",
sensitive: false
},
- pleroma: %{tags: []}
+ pleroma: %{
+ confirmation_pending: false,
+ tags: []
+ }
}
assert expected == AccountView.render("account.json", %{user: user})