이그노어 추가

This commit is contained in:
sejoung kim
2021-06-23 09:16:43 +09:00
parent 3b6bb58394
commit 3fa86f5372
2 changed files with 11 additions and 2 deletions

11
.gitignore vendored
View File

@@ -28,6 +28,15 @@ hs_err_pid*
/.gradle/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
# Created by https://www.gitignore.io/api/intellij+all
### Intellij+all ###
@@ -98,4 +107,4 @@ fabric.properties
.DS_Store
/build
build/

View File

@@ -20,8 +20,8 @@ class ProductRepositoryTest {
@Test
void test() {
entityManager.persistAndFlush(new RoundProductEntity("회차권", ProductType.ROUND, 1L, 1));
repository.saveAndFlush(new RoundProductEntity("회차권", ProductType.ROUND, 1L, 1));
repository.findAll().forEach(productEntity -> {
System.out.println(productEntity);
});