summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-01-27 09:45:51 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-01-27 09:45:51 +0000
commitb58e4ddb10a1144a0afbac259cbe8bfcfd363ba6 (patch)
treebcbe4dfbece92e0db7b3fb82ac020dda0a9fa245 /test
parent717579330427ed4f78ee578d008818c07106318f (diff)
parenta65c18859307f4aacf42eb5dd14e63ad76747a6d (diff)
downloadpleroma-b58e4ddb10a1144a0afbac259cbe8bfcfd363ba6.tar.gz
pleroma-b58e4ddb10a1144a0afbac259cbe8bfcfd363ba6.zip
Merge branch 'features/masto-account-view-rights' into 'develop'
Web.MastodonAPI.AccountView: Add is_moderator and is_admin Closes #557 See merge request pleroma/pleroma!718
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/account_view_test.exs8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs
index d53e11963..f8cd68173 100644
--- a/test/web/mastodon_api/account_view_test.exs
+++ b/test/web/mastodon_api/account_view_test.exs
@@ -61,7 +61,9 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
},
pleroma: %{
confirmation_pending: false,
- tags: []
+ tags: [],
+ is_admin: false,
+ is_moderator: false
}
}
@@ -102,7 +104,9 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
},
pleroma: %{
confirmation_pending: false,
- tags: []
+ tags: [],
+ is_admin: false,
+ is_moderator: false
}
}