mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:15:04 +00:00
stub for register
This commit is contained in:
@@ -2,6 +2,11 @@ import { stub } from "../support/mock";
|
|||||||
|
|
||||||
describe("register", () => {
|
describe("register", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
stub("zitadel.user.v2.OrganizationService", "ListOrganizations", {
|
||||||
|
data: {
|
||||||
|
result: [{ id: "123" }],
|
||||||
|
},
|
||||||
|
});
|
||||||
stub("zitadel.user.v2.UserService", "AddHumanUser", {
|
stub("zitadel.user.v2.UserService", "AddHumanUser", {
|
||||||
data: {
|
data: {
|
||||||
userId: "123",
|
userId: "123",
|
||||||
|
|||||||
Reference in New Issue
Block a user