diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-11-20 11:01:26 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-03-10 16:46:58 +0300 |
commit | 965f88cfc7f5f3de6a8334e1dbd335c0dfb5449c (patch) | |
tree | ddb8369bb3649a9b71be91e98abc549c79769add | |
parent | f1781c14eb8b0b66240095e0393b0c9bfb01a301 (diff) | |
download | pleroma-965f88cfc7f5f3de6a8334e1dbd335c0dfb5449c.tar.gz |
formattingfeature/1820-unify-settings
-rw-r--r-- | test/pleroma/web/mastodon_api/masto_fe_controller_test.exs | 6 |
1 files changed, 3 insertions, 3 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 2962b0bc4..ea66c708f 100644 --- a/test/pleroma/web/mastodon_api/masto_fe_controller_test.exs +++ b/test/pleroma/web/mastodon_api/masto_fe_controller_test.exs @@ -20,10 +20,10 @@ 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 _result = json_response(conn, 200) - user = User.get_cached_by_ap_id(user.ap_id) - assert user.mastofe_settings == %{"programming" => "socks"} + user = User.get_cached_by_ap_id(user.ap_id) + assert user.mastofe_settings == %{"programming" => "socks"} end describe "index/2 redirections" do |