stub for register

This commit is contained in:
Max Peintner
2024-10-25 16:03:50 +02:00
parent 3a99d7fe93
commit fe3ba12ef5

View File

@@ -2,6 +2,11 @@ import { stub } from "../support/mock";
describe("register", () => {
beforeEach(() => {
stub("zitadel.user.v2.OrganizationService", "ListOrganizations", {
data: {
result: [{ id: "123" }],
},
});
stub("zitadel.user.v2.UserService", "AddHumanUser", {
data: {
userId: "123",