This commit is contained in:
Maxim Filippov 2019-03-13 16:14:31 +03:00
parent 490d9cf7b1
commit d5edff6ce6

View 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
}
]
}