Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POST /register] É possível criar um usuário com o telefone com mais de 11 caracteres. #49

Open
MiguelAngeloBM opened this issue Jun 3, 2024 · 0 comments

Comments

@MiguelAngeloBM
Copy link
Contributor

Descrição

Passos para reproduzir:

Envie uma solicitação POST com o parâmetro telefone com mais de 11 caracteres do corpo da solicitação.

{
"name": "Green Cycle Rodriigues",
"email": "[email protected]",
"password": "Green-cycl3",
"confirmPassword": "Green-cycl3",
"cpf": 96340252741,

"telefone": 552199888775541

}
Resultado esperado: A solicitação deve retornar status 400 Bad Request.

Resultado real: A solicitação retorna 200 OK sendo possível criar um usuário com o parâmetro telefone com mais de 11 caracteres.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant