Skip to content

Commit

Permalink
test : 인가 테스트 300번 응답 그레들 빌드 테스트 통과 테스트용 commit 2 (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-ho committed Mar 12, 2024
1 parent 6126c4f commit 0b29e9b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
import gdsc.binaryho.imhere.security.jwt.TokenUtil;
import java.util.Optional;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.junit.jupiter.MockitoExtension;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
Expand All @@ -26,7 +24,6 @@
import org.springframework.test.web.servlet.MockMvc;

@SpringBootTest
@ExtendWith(MockitoExtension.class)
@AutoConfigureMockMvc
public class SecurityConfigTest {

Expand Down Expand Up @@ -58,7 +55,7 @@ public class SecurityConfigTest {
.contentType(MediaType.APPLICATION_JSON)
.header(HttpHeaders.AUTHORIZATION, token.getAccessToken())
)
.andExpect(status().is3xxRedirection());
.andExpect(status().is2xxSuccessful());
}

@Test
Expand Down

0 comments on commit 0b29e9b

Please sign in to comment.