Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dojinyou committed Sep 29, 2023
1 parent b473676 commit faf19ce
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Store> = mutableSetOf()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Category> = mutableSetOf()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class CategoryTest {
assertThat(throwable).isInstanceOf(RuntimeException::class.java)
}


@DisplayName("이름이 최소 길이 이상일 경우 에외를 던진다")
@Test
fun throwExceptionWhenNameLengthGreaterThanMaxLength() {
Expand All @@ -35,7 +34,6 @@ class CategoryTest {
assertThat(throwable).isInstanceOf(RuntimeException::class.java)
}


@DisplayName("새로운 이름이 빈 값일 경우 예외를 던진다")
@ParameterizedTest
@EmptySource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class StoreTest {
Assertions.assertThat(throwable).isInstanceOf(RuntimeException::class.java)
}


@DisplayName("이름이 최소 길이 이상일 경우 에외를 던진다")
@Test
fun throwExceptionWhenNameLengthGreaterThanMaxLength() {
Expand All @@ -34,7 +33,6 @@ class StoreTest {
Assertions.assertThat(throwable).isInstanceOf(RuntimeException::class.java)
}


@DisplayName("보이는 이름이 최소 길이 이상일 경우 에외를 던진다")
@Test
fun throwExceptionWhenDisplayNameLengthGreaterThanMaxLength() {
Expand All @@ -49,7 +47,6 @@ class StoreTest {
Assertions.assertThat(throwable).isInstanceOf(RuntimeException::class.java)
}


@DisplayName("새로운 이름이 빈 값일 경우 예외를 던진다")
@ParameterizedTest
@EmptySource
Expand Down

0 comments on commit faf19ce

Please sign in to comment.