Skip to content

Commit

Permalink
[test] : 토큰 만료시간 변경에 따른 토큰 만료시간 테스트 코드 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
dudxo committed Aug 23, 2024
1 parent 5daf723 commit c9f26af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ void setUp() {
this.authInfo = AuthInfo.of("김회원", "kakao123/daum.net", "ROLE_USER");
}

@DisplayName("만료일이 30분인 토큰이 생성된다.")
@DisplayName("만료일이 1시간 30분인 토큰이 생성된다.")
@Test
void generateAccessToken() {
// given
Date now = new Date();
long expectedExpirationTime = now.getTime() + 30 * 60 * 1000;
long expectedExpirationTime = now.getTime() + 90 * 60 * 1000;

CustomOauth2User authentication = new CustomOauth2User(authInfo);

Expand Down

0 comments on commit c9f26af

Please sign in to comment.