summaryrefslogtreecommitdiff
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-10 03:53:54 +0100
commit510c78028a8b2b7f0ae1e5e03bc21caa3c66d508 (patch)
tree563bd2a3caa96e5a478d6e9fbdbbd067bcc9fb29
parent8824286ee8dd783af29970b366d50cd88673d59c (diff)
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"}