Skip to content

Commit

Permalink
totalresult in response stub
Browse files Browse the repository at this point in the history
  • Loading branch information
peintnermax committed Apr 4, 2024
1 parent e7309d8 commit 4bbc9ea
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions apps/login/cypress/integration/login.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,29 @@ describe("login", () => {

stub("zitadel.user.v2beta.UserService", "ListUsers", {
data: {
details: {
totalResult: 1,
},
result: [
{
userId: "1231231231",
userId: "221394658884845598",
state: 1,
username: "max",
loginNames: ["max"],
preferredLoginName: "max",
username: "[email protected]",
loginNames: ["[email protected]"],
preferredLoginName: "[email protected]",
human: {
userId: "123123123",
userId: "221394658884845598",
state: 1,
username: "max",
loginNames: ["max"],
preferredLoginName: "max",
username: "[email protected]",
loginNames: ["[email protected]"],
preferredLoginName: "[email protected]",
profile: {
givenName: "Max",
familyName: "Mustermann",
givenName: "John",
familyName: "Doe",
avatarUrl: "https://zitadel.com/avatar.jpg",
},
email: {
email: "string",
email: "[email protected]",
isVerified: true,
},
},
Expand Down

0 comments on commit 4bbc9ea

Please sign in to comment.