Skip to content

Commit a6f10de

Browse files
committed
fix(recruit-board): sonarqube 이슈 해결
1 parent 0a1766f commit a6f10de

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/test/java/com/somemore/domains/recruitboard/repository/RecruitBoardRepositoryImplTest.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void findWithLocationById() {
102102
assertThat(boardWithLocation.longitude()).isEqualByComparingTo(location.getLongitude());
103103
}
104104

105-
@DisplayName("조건 없이 모집 게시글을 조회한다. (정렬 포함)")
105+
@DisplayName("조건 없이 모집 게시글을 조회한다.")
106106
@Test
107107
void findAllWithCenterWithoutCondition() {
108108
// given
@@ -204,9 +204,6 @@ void findAllWithCenterByRegion() {
204204
@Test
205205
void findAllWithCenterByAdmitted() {
206206
// given
207-
Center center = createCenter();
208-
centerRepository.save(center);
209-
210207
boolean admitted = false;
211208
RecruitBoard recruitBoard = createRecruitBoard(center.getId(), "제목", OTHER, "지역", admitted,
212209
RECRUITING);
@@ -237,9 +234,6 @@ void findAllWithCenterByAdmitted() {
237234
@Test
238235
void findAllWithCenterByStatus() {
239236
// given
240-
Center center = createCenter();
241-
centerRepository.save(center);
242-
243237
RecruitStatus status = CLOSED;
244238
RecruitBoard recruitBoard = createRecruitBoard(center.getId(), "제목", OTHER, "지역", true,
245239
status);

0 commit comments

Comments
 (0)