Skip to content

Validation deleteShouldReturnNotFoundWhenNonExistingId and updateShouldReturnNotFoundWhenIdDoesNotExist#6

Open
dgobrito wants to merge 3 commits intodevsuperior:mainfrom
dgobrito:main
Open

Validation deleteShouldReturnNotFoundWhenNonExistingId and updateShouldReturnNotFoundWhenIdDoesNotExist#6
dgobrito wants to merge 3 commits intodevsuperior:mainfrom
dgobrito:main

Conversation

@dgobrito
Copy link

@dgobrito dgobrito commented Jan 12, 2023

Rodando os testes sem implementar percebi que os testes do Delete / Update Not Found estavam passando.
Adicionei validação na mensagem, impedindo de passar o teste com o retorno padrão do Spring.

@dgobrito dgobrito changed the title Validation deleteShouldReturnNotFoundWhenNonExistingId Validation deleteShouldReturnNotFoundWhenNonExistingId and updateShouldReturnNotFoundWhenIdDoesNotExist Jan 13, 2023
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

Successfully merging this pull request may close these issues.

1 participant