Skip to content

Commit

Permalink
Merge pull request #52 from Team-Sopetit/hotfix/#50-build-error
Browse files Browse the repository at this point in the history
[CHORE] 권한 경로 추가, 테스트 일부 삭제
  • Loading branch information
thguss authored Jan 10, 2024
2 parents 3301193 + 441dfb7 commit 57de2e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
Expand Down Expand Up @@ -37,6 +36,9 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers(new AntPathRequestMatcher("/api/v1/auth/**")).permitAll()
.requestMatchers(new AntPathRequestMatcher("/api/v1/test")).permitAll()
.requestMatchers(new AntPathRequestMatcher("/error")).permitAll()
.requestMatchers(new AntPathRequestMatcher("/v3/api-docs/**")).permitAll()
.requestMatchers(new AntPathRequestMatcher("/swagger-ui/**")).permitAll()
.requestMatchers(new AntPathRequestMatcher("/docs/**")).permitAll()
.anyRequest().authenticated())
.addFilterBefore(jwtAuthenticationFilter, UsernamePasswordAuthenticationFilter.class)
.build();
Expand Down
6 changes: 0 additions & 6 deletions src/test/java/com/soptie/server/ServerApplicationTests.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
package com.soptie.server;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class ServerApplicationTests {

@Test
void contextLoads() {
}

}

0 comments on commit 57de2e8

Please sign in to comment.