aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-02-16 23:40:50 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-03-15 06:47:06 +0100
commit3a8404820d803ccea44071178cc90f6aafcee80b (patch)
tree1945d74a353082363c14ec57d535dfb1b38f1294
parente47f83cfc822716c00f3fcaffe73f31208749601 (diff)
downloadpleroma-3a8404820d803ccea44071178cc90f6aafcee80b.tar.gz
Verify MastoFE Controller put_settings response
-rw-r--r--test/pleroma/web/mastodon_api/masto_fe_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/mastodon_api/masto_fe_controller_test.exs b/test/pleroma/web/mastodon_api/masto_fe_controller_test.exs
index ea66c708f..e679d781a 100644
--- a/test/pleroma/web/mastodon_api/masto_fe_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/masto_fe_controller_test.exs
@@ -20,7 +20,7 @@ defmodule Pleroma.Web.MastodonAPI.MastoFEControllerTest do
|> assign(:token, insert(:oauth_token, user: user, scopes: ["write:accounts"]))
|> put("/api/web/settings", %{"data" => %{"programming" => "socks"}})
- assert _result = json_response(conn, 200)
+ assert %{} = json_response(conn, 200)
user = User.get_cached_by_ap_id(user.ap_id)
assert user.mastofe_settings == %{"programming" => "socks"}