Skip to content

Commit 83e4e43

Browse files
committed
update test name
1 parent 50e0a71 commit 83e4e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

persistence-modules/spring-boot-persistence-mongodb-4/src/test/java/com/baeldung/mongodb/testcontainers/ProductIntegrationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class ProductIntegrationTest extends AbstractBaseIntegrationTest {
2121
private ObjectMapper objectMapper = new ObjectMapper();
2222

2323
@Test
24-
public void testThatProductSaveThenGetProduct() throws Exception {
24+
public void givenProduct_whenSave_thenGetProduct() throws Exception {
2525
MvcResult mvcResult = mvc.perform(post("/products").contentType("application/json")
2626
.content(objectMapper.writeValueAsString(new Product("Banana", "Fruit", 10))))
2727
.andExpect(status().isOk())

0 commit comments

Comments
 (0)