Merge pull request 'doc: update repo link from docs to akkoma' (#87) from sfr/akkoma...
[akkoma] / test / pleroma / web / mastodon_api / update_credentials_test.exs
index 1d20278998923323feec3335e0c7e95722b4b870..0f423cce85f1b033f6a5373eaacc73af8d96501b 100644 (file)
@@ -35,8 +35,8 @@ defmodule Pleroma.Web.MastodonAPI.UpdateCredentialsTest do
         |> assign(:user, user)
         |> patch("/api/v1/accounts/update_credentials", %{
           "pleroma_settings_store" => %{
-            soapbox_fe: %{
-              themeMode: "bla"
+            masto_fe: %{
+              theme: "bla"
             }
           }
         })
@@ -46,7 +46,7 @@ defmodule Pleroma.Web.MastodonAPI.UpdateCredentialsTest do
       assert user_data["pleroma"]["settings_store"] ==
                %{
                  "pleroma_fe" => %{"theme" => "bla"},
-                 "soapbox_fe" => %{"themeMode" => "bla"}
+                 "masto_fe" => %{"theme" => "bla"}
                }
 
       user = Repo.get(User, user_data["id"])
@@ -60,8 +60,8 @@ defmodule Pleroma.Web.MastodonAPI.UpdateCredentialsTest do
           |> assign(:user, user)
           |> patch("/api/v1/accounts/update_credentials", %{
             "pleroma_settings_store" => %{
-              soapbox_fe: %{
-                themeMode: "blub"
+              masto_fe: %{
+                theme: "blub"
               }
             }
           })
@@ -71,7 +71,7 @@ defmodule Pleroma.Web.MastodonAPI.UpdateCredentialsTest do
         assert user_data["pleroma"]["settings_store"] ==
                  %{
                    "pleroma_fe" => %{"theme" => "bla"},
-                   "soapbox_fe" => %{"themeMode" => "blub"}
+                   "masto_fe" => %{"theme" => "blub"}
                  }
 
         assert_called(Pleroma.Web.Federator.publish(:_))