fix: Typo for register user tests
This commit is contained in:
@@ -48,7 +48,7 @@ describe('POST /api/v1/users/register', () => {
|
|||||||
.expect(404);
|
.expect(404);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return unprocessable entity respones with already used email', async () => {
|
it('should return unprocessable entity response with already used email', async () => {
|
||||||
await createRole({ name: 'User' });
|
await createRole({ name: 'User' });
|
||||||
await createUser({
|
await createUser({
|
||||||
email: 'registered@sample.com',
|
email: 'registered@sample.com',
|
||||||
|
Reference in New Issue
Block a user