From: Haelwenn (lanodan) Monnier Date: Tue, 16 Feb 2021 22:40:50 +0000 (+0100) Subject: Verify MastoFE Controller put_settings response X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3a8404820d803ccea44071178cc90f6aafcee80b;p=akkoma Verify MastoFE Controller put_settings response --- 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"}