This commit is contained in:
Maxim Filippov 2019-03-13 16:14:31 +03:00
parent 490d9cf7b1
commit d5edff6ce6
1 changed files with 4 additions and 2 deletions

View File

@ -349,13 +349,15 @@ test "renders users array for the first page" do
"deactivated" => admin.info.deactivated, "deactivated" => admin.info.deactivated,
"id" => admin.id, "id" => admin.id,
"nickname" => admin.nickname, "nickname" => admin.nickname,
"roles" => %{"admin" => true, "moderator" => false} "roles" => %{"admin" => true, "moderator" => false},
"local" => true
}, },
%{ %{
"deactivated" => user.info.deactivated, "deactivated" => user.info.deactivated,
"id" => user.id, "id" => user.id,
"nickname" => user.nickname, "nickname" => user.nickname,
"roles" => %{"admin" => false, "moderator" => false} "roles" => %{"admin" => false, "moderator" => false},
"local" => true
} }
] ]
} }