Skip to content
Snippets Groups Projects
Commit 4872914d authored by Maxim Filippov's avatar Maxim Filippov :new_moon_with_face:
Browse files

Add test when local is false

parent d5edff6c
No related branches found
No related tags found
No related merge requests found
......@@ -334,7 +334,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
describe "GET /api/pleroma/admin/users" do
test "renders users array for the first page" do
admin = insert(:user, info: %{is_admin: true})
user = insert(:user)
user = insert(:user, local: false)
conn =
build_conn()
......@@ -357,7 +357,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
"id" => user.id,
"nickname" => user.nickname,
"roles" => %{"admin" => false, "moderator" => false},
"local" => true
"local" => false
}
]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment