diff --git a/src/main/kotlin/com/mjucow/eatda/domain/store/entity/Category.kt b/src/main/kotlin/com/mjucow/eatda/domain/store/entity/Category.kt index 8978c72..6007068 100644 --- a/src/main/kotlin/com/mjucow/eatda/domain/store/entity/Category.kt +++ b/src/main/kotlin/com/mjucow/eatda/domain/store/entity/Category.kt @@ -29,7 +29,7 @@ class Category() : BaseEntity() { @JoinTable( name = "store_category", joinColumns = [JoinColumn(name = "category_id")], - inverseJoinColumns = [JoinColumn(name = "store_id")], + inverseJoinColumns = [JoinColumn(name = "store_id")] ) protected val mutableStores: MutableSet = mutableSetOf() diff --git a/src/main/kotlin/com/mjucow/eatda/domain/store/entity/Store.kt b/src/main/kotlin/com/mjucow/eatda/domain/store/entity/Store.kt index 1f16dbb..5068015 100644 --- a/src/main/kotlin/com/mjucow/eatda/domain/store/entity/Store.kt +++ b/src/main/kotlin/com/mjucow/eatda/domain/store/entity/Store.kt @@ -41,7 +41,7 @@ class Store() : BaseEntity() { @JoinTable( name = "store_category", joinColumns = [JoinColumn(name = "store_id")], - inverseJoinColumns = [JoinColumn(name = "category_id")], + inverseJoinColumns = [JoinColumn(name = "category_id")] ) protected val mutableCategories: MutableSet = mutableSetOf() diff --git a/src/test/kotlin/com/mjucow/eatda/domain/store/entity/CategoryTest.kt b/src/test/kotlin/com/mjucow/eatda/domain/store/entity/CategoryTest.kt index 6eb448a..f96668d 100644 --- a/src/test/kotlin/com/mjucow/eatda/domain/store/entity/CategoryTest.kt +++ b/src/test/kotlin/com/mjucow/eatda/domain/store/entity/CategoryTest.kt @@ -21,7 +21,6 @@ class CategoryTest { assertThat(throwable).isInstanceOf(RuntimeException::class.java) } - @DisplayName("이름이 최소 길이 이상일 경우 에외를 던진다") @Test fun throwExceptionWhenNameLengthGreaterThanMaxLength() { @@ -35,7 +34,6 @@ class CategoryTest { assertThat(throwable).isInstanceOf(RuntimeException::class.java) } - @DisplayName("새로운 이름이 빈 값일 경우 예외를 던진다") @ParameterizedTest @EmptySource diff --git a/src/test/kotlin/com/mjucow/eatda/domain/store/entity/StoreTest.kt b/src/test/kotlin/com/mjucow/eatda/domain/store/entity/StoreTest.kt index 989d582..ccc4bba 100644 --- a/src/test/kotlin/com/mjucow/eatda/domain/store/entity/StoreTest.kt +++ b/src/test/kotlin/com/mjucow/eatda/domain/store/entity/StoreTest.kt @@ -20,7 +20,6 @@ class StoreTest { Assertions.assertThat(throwable).isInstanceOf(RuntimeException::class.java) } - @DisplayName("이름이 최소 길이 이상일 경우 에외를 던진다") @Test fun throwExceptionWhenNameLengthGreaterThanMaxLength() { @@ -34,7 +33,6 @@ class StoreTest { Assertions.assertThat(throwable).isInstanceOf(RuntimeException::class.java) } - @DisplayName("보이는 이름이 최소 길이 이상일 경우 에외를 던진다") @Test fun throwExceptionWhenDisplayNameLengthGreaterThanMaxLength() { @@ -49,7 +47,6 @@ class StoreTest { Assertions.assertThat(throwable).isInstanceOf(RuntimeException::class.java) } - @DisplayName("새로운 이름이 빈 값일 경우 예외를 던진다") @ParameterizedTest @EmptySource