commit
fff145eb68
|
@ -29,7 +29,7 @@ public class JPAMultipleDBTest {
|
||||||
private ProductRepository productRepository;
|
private ProductRepository productRepository;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenCreateUser_thenCreated() {
|
public void whenCreatingUser_thenCreated() {
|
||||||
User user = new User();
|
User user = new User();
|
||||||
user.setName("John");
|
user.setName("John");
|
||||||
user.setAge(20);
|
user.setAge(20);
|
||||||
|
@ -39,7 +39,7 @@ public class JPAMultipleDBTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenCreateProduct_thenCreated() {
|
public void whenCreatingProduct_thenCreated() {
|
||||||
Product product = new Product();
|
Product product = new Product();
|
||||||
product.setName("Book");
|
product.setName("Book");
|
||||||
product.setId(2);
|
product.setId(2);
|
||||||
|
|
Loading…
Reference in New Issue