We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8cc4e9 commit 01eb56bCopy full SHA for 01eb56b
1 file changed
packages/server/api/test/unit/authentication/new-user/create-user.test.ts
@@ -135,6 +135,7 @@ describe('create-user', () => {
135
const createdUser = {
136
id: 'u3',
137
organizationId: baseParams.organizationId,
138
+ password: '12345678',
139
};
140
createUserServiceMock.mockResolvedValue(createdUser);
141
createTablesUserMock.mockResolvedValue({ refresh_token: 't2' });
@@ -146,7 +147,7 @@ describe('create-user', () => {
146
147
);
148
149
expect(createTablesUserMock).toHaveBeenCalledWith(
- expect.objectContaining({ password: 'Rand#123' }),
150
+ expect.objectContaining({ password: '12345678' }),
151
152
153
expect(res).toEqual({ user: createdUser, tablesRefreshToken: 't2' });
0 commit comments