Fix test
This commit is contained in:
parent
93291c3d7a
commit
76a13bc5a2
@ -495,20 +495,20 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
|
|||||||
"page_size" => 50,
|
"page_size" => 50,
|
||||||
"users" => [
|
"users" => [
|
||||||
%{
|
%{
|
||||||
"deactivated" => admin.info.deactivated,
|
|
||||||
"id" => admin.id,
|
|
||||||
"nickname" => admin.nickname,
|
|
||||||
"roles" => %{"admin" => true, "moderator" => false},
|
|
||||||
"local" => true,
|
|
||||||
"tags" => []
|
|
||||||
},
|
|
||||||
%{
|
|
||||||
"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,
|
"local" => true,
|
||||||
"tags" => []
|
"tags" => []
|
||||||
|
},
|
||||||
|
%{
|
||||||
|
"deactivated" => admin.info.deactivated,
|
||||||
|
"id" => admin.id,
|
||||||
|
"nickname" => admin.nickname,
|
||||||
|
"roles" => %{"admin" => true, "moderator" => false},
|
||||||
|
"local" => true,
|
||||||
|
"tags" => []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user