mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:24:51 +00:00
totalresult in response stub
This commit is contained in:
@@ -55,26 +55,29 @@ describe("login", () => {
|
|||||||
|
|
||||||
stub("zitadel.user.v2beta.UserService", "ListUsers", {
|
stub("zitadel.user.v2beta.UserService", "ListUsers", {
|
||||||
data: {
|
data: {
|
||||||
|
details: {
|
||||||
|
totalResult: 1,
|
||||||
|
},
|
||||||
result: [
|
result: [
|
||||||
{
|
{
|
||||||
userId: "1231231231",
|
userId: "221394658884845598",
|
||||||
state: 1,
|
state: 1,
|
||||||
username: "max",
|
username: "john@zitadel.com",
|
||||||
loginNames: ["max"],
|
loginNames: ["john@zitadel.com"],
|
||||||
preferredLoginName: "max",
|
preferredLoginName: "john@zitadel.com",
|
||||||
human: {
|
human: {
|
||||||
userId: "123123123",
|
userId: "221394658884845598",
|
||||||
state: 1,
|
state: 1,
|
||||||
username: "max",
|
username: "john@zitadel.com",
|
||||||
loginNames: ["max"],
|
loginNames: ["john@zitadel.com"],
|
||||||
preferredLoginName: "max",
|
preferredLoginName: "john@zitadel.com",
|
||||||
profile: {
|
profile: {
|
||||||
givenName: "Max",
|
givenName: "John",
|
||||||
familyName: "Mustermann",
|
familyName: "Doe",
|
||||||
avatarUrl: "https://zitadel.com/avatar.jpg",
|
avatarUrl: "https://zitadel.com/avatar.jpg",
|
||||||
},
|
},
|
||||||
email: {
|
email: {
|
||||||
email: "string",
|
email: "john@zitadel.com",
|
||||||
isVerified: true,
|
isVerified: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user