summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Kühl <martin.kuehl@gmail.com>2018-09-05 20:13:50 +0200
committerMartin Kühl <martin.kuehl@gmail.com>2018-09-07 16:12:44 +0200
commit619f67768a9b66880d8541c03e640201bc378c99 (patch)
tree01a435c560675263ca00e2e839be3178b5c551d2 /test
parent403f9d118dadcef806044831221d5c67800ce34d (diff)
downloadpleroma-619f67768a9b66880d8541c03e640201bc378c99.tar.gz
pleroma-619f67768a9b66880d8541c03e640201bc378c99.zip
Mastodon API: Add unsupported attributes to relationship responses
These attributes are documented as required by the Mastodon API. Since we don’t support them (I think?), respond with default values.
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/account_view_test.exs4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs
index 7d0367d01..e1e07fbcd 100644
--- a/test/web/mastodon_api/account_view_test.exs
+++ b/test/web/mastodon_api/account_view_test.exs
@@ -123,8 +123,10 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
followed_by: false,
blocking: true,
muting: false,
+ muting_notifications: false,
requested: false,
- domain_blocking: false
+ domain_blocking: false,
+ showing_reblogs: false
}
assert expected == AccountView.render("relationship.json", %{user: user, target: other_user})