mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 21:41:17 +00:00
see comments
This commit is contained in:
parent
b52849ecbd
commit
239d6700be
13 changed files with 231 additions and 41 deletions
|
|
@ -171,7 +171,9 @@ describe("POST /api/auth/register/employee", () => {
|
|||
},
|
||||
});
|
||||
mockListUsers.mockResolvedValue({
|
||||
data: { users: [{ id: "emp-1", email: validBody.email }] },
|
||||
data: {
|
||||
users: [{ id: "emp-1", email: validBody.email, user_metadata: { role: "employee" } }],
|
||||
},
|
||||
error: null,
|
||||
});
|
||||
mockUpdateUserById.mockResolvedValue({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue