aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-10-14 10:44:18 -0500
committerMark Felder <feld@FreeBSD.org>2020-10-14 10:44:18 -0500
commitb001237b79d50eef1f0636951cddc7b6da20260d (patch)
tree0a5f2253762e31843c9d288d1b85a60a55244f12 /test
parent3242cfef20ea05bae53761ffaf54347c4c6f7bda (diff)
downloadpleroma-b001237b79d50eef1f0636951cddc7b6da20260d.tar.gz
Finish undoing API breakage
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/controllers/account_controller_test.exs2
-rw-r--r--test/pleroma/web/mastodon_api/views/account_view_test.exs4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
index f7eb97dbb..f7f1369e4 100644
--- a/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
@@ -1278,7 +1278,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
"note" => "",
"pleroma" => %{
"actor_type" => "Person",
- "is_discoverable" => false,
+ "discoverable" => false,
"no_rich_text" => false,
"show_role" => true
},
diff --git a/test/pleroma/web/mastodon_api/views/account_view_test.exs b/test/pleroma/web/mastodon_api/views/account_view_test.exs
index 3b0454df2..a5f39b215 100644
--- a/test/pleroma/web/mastodon_api/views/account_view_test.exs
+++ b/test/pleroma/web/mastodon_api/views/account_view_test.exs
@@ -69,7 +69,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
sensitive: false,
pleroma: %{
actor_type: "Person",
- is_discoverable: true
+ discoverable: true
},
fields: []
},
@@ -167,7 +167,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
sensitive: false,
pleroma: %{
actor_type: "Service",
- is_discoverable: true
+ discoverable: true
},
fields: []
},