Skip to content

Commit

Permalink
test: 토큰 재발급 성공 케이스 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
f1v3-dev committed Nov 26, 2024
1 parent 7ff4353 commit a09c2a8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

/**
* AuthController 테스트 클래스입니다.
Expand Down Expand Up @@ -98,7 +99,7 @@ void testReissue_InvalidRefreshToken() throws Exception {
.cookie(refreshCookie))
.andExpectAll(
status().isOk(),
header().string("Authorization", accessToken)
jsonPath("$.accessToken").value(accessToken)
);
}
}

0 comments on commit a09c2a8

Please sign in to comment.