Skip to content

Commit

Permalink
chore: sonarcloud 이슈 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeuk520 committed Sep 17, 2024
1 parent 13488d7 commit 6578ca9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/main/java/com/ku/covigator/service/CourseService.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import com.ku.covigator.repository.CourseRepository;
import com.ku.covigator.repository.MemberRepository;
import lombok.RequiredArgsConstructor;
import org.jetbrains.annotations.NotNull;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Slice;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void findCoursesSortByCreatedAt() {

//then
assertAll(
() -> assertThat(response.courses().size()).isEqualTo(2),
() -> assertThat(response.courses()).hasSize(2),
() -> assertThat(response.courses())
.extracting("courseId")
.containsExactly(savedCourse2.getId(), savedCourse.getId()),
Expand Down

0 comments on commit 6578ca9

Please sign in to comment.