Skip to content

Commit 9bfbe37

Browse files
committed
modify method name
1 parent aa989f6 commit 9bfbe37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-jpa/src/test/java/org/baeldung/persistence/service/JPAMultipleDBTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class JPAMultipleDBTest {
2929
private ProductRepository productRepository;
3030

3131
@Test
32-
public void whenCreateUser_thenCreated() {
32+
public void whenCreatingUser_thenCreated() {
3333
User user = new User();
3434
user.setName("John");
3535
user.setAge(20);
@@ -39,7 +39,7 @@ public void whenCreateUser_thenCreated() {
3939
}
4040

4141
@Test
42-
public void whenCreateProduct_thenCreated() {
42+
public void whenCreatingProduct_thenCreated() {
4343
Product product = new Product();
4444
product.setName("Book");
4545
product.setId(2);

0 commit comments

Comments
 (0)