Skip to content

Commit

Permalink
Forgot a DisplayName from a method
Browse files Browse the repository at this point in the history
  • Loading branch information
arhohuttunen committed Mar 17, 2021
1 parent fe58526 commit fc3b348
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -112,6 +112,7 @@ void returnHttpStatusOk() throws Exception {
}

@Test
@DisplayName("return found product as JSON")
void returnFoundProductAsJson() throws Exception {
Product product = new Product(1L, "Toothbrush", BigDecimal.valueOf(5.0));
when(productRepository.findById(1L)).thenReturn(product);
Expand Down

0 comments on commit fc3b348

Please sign in to comment.