Fix test
authorMaxim Filippov <colixer@gmail.com>
Wed, 13 Mar 2019 13:14:31 +0000 (16:14 +0300)
committerMaxim Filippov <colixer@gmail.com>
Wed, 13 Mar 2019 13:14:31 +0000 (16:14 +0300)
test/web/admin_api/admin_api_controller_test.exs

index c72e6b9755f3fc1a05499ac53dd1cde856a63278..96cb95da646a93172d1f20f4d6af2cb8b383550c 100644 (file)
@@ -349,13 +349,15 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
                    "deactivated" => admin.info.deactivated,
                    "id" => admin.id,
                    "nickname" => admin.nickname,
-                   "roles" => %{"admin" => true, "moderator" => false}
+                   "roles" => %{"admin" => true, "moderator" => false},
+                   "local" => true
                  },
                  %{
                    "deactivated" => user.info.deactivated,
                    "id" => user.id,
                    "nickname" => user.nickname,
-                   "roles" => %{"admin" => false, "moderator" => false}
+                   "roles" => %{"admin" => false, "moderator" => false},
+                   "local" => true
                  }
                ]
              }