Commit 4872914d authored by Maxim Filippov's avatar Maxim Filippov 🌚

Add test when local is false

parent d5edff6c
......@@ -334,7 +334,7 @@ test "/api/pleroma/admin/password_reset" 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 @@ test "renders users array for the first page" do
"id" => user.id,
"nickname" => user.nickname,
"roles" => %{"admin" => false, "moderator" => false},
"local" => true
"local" => false
}
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment