Skip to content

Commit

Permalink
chore: 자잘한 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeuk520 committed Sep 4, 2024
1 parent 47035ad commit fead555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/ku/covigator/config/AuthConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class AuthConfig implements WebMvcConfigurer {
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(jwtAuthInterceptor)
.addPathPatterns("/members/travel-styles")
.addPathPatterns("/community/courses/**");
.addPathPatterns("/community/courses");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void getCommunityCourseInfo() throws Exception {
given(courseService.findCourse(memberId, courseId)).willReturn(response);

//when //then
mockMvc.perform(get("/community/courses/{courseId}", courseId))
mockMvc.perform(get("/community/courses/{course_id}", courseId))
.andDo(print())
.andExpectAll(
status().isOk(),
Expand Down

0 comments on commit fead555

Please sign in to comment.