Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma] / test / plugs / admin_secret_authentication_plug_test.exs
index e1d4b391f76978dc54bbd29b8b5bf3634e61ff62..c94a62c102e9bd82d1fe53801110ac8810d0ee2f 100644 (file)
@@ -37,6 +37,6 @@ defmodule Pleroma.Plugs.AdminSecretAuthenticationPlugTest do
       %{conn | params: %{"admin_token" => "password123"}}
       |> AdminSecretAuthenticationPlug.call(%{})
 
-    assert conn.assigns[:user].info.is_admin
+    assert conn.assigns[:user].is_admin
   end
 end