File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/test/java/com/somemore/auth/jwt/service Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,8 @@ void throwExceptionWhenRefreshTokenIsInvalid() {
120120 RefreshToken refreshToken = new RefreshToken (userId , expiredAccessToken , expiredRefreshToken );
121121 refreshTokenManager .save (refreshToken );
122122
123- // when & then
123+ // when
124+ // then
124125 MockHttpServletResponse mockResponse = new MockHttpServletResponse ();
125126
126127 assertThatThrownBy (() -> jwtService .processAccessToken (expiredAccessToken , mockResponse ))
@@ -136,7 +137,8 @@ void throwExceptionWhenRefreshTokenIsMissing() {
136137 UserRole role = UserRole .VOLUNTEER ;
137138 EncodedToken expiredAccessToken = createExpiredToken (userId , role );
138139
139- // when & then
140+ // when
141+ // then
140142 MockHttpServletResponse mockResponse = new MockHttpServletResponse ();
141143
142144 assertThatThrownBy (() -> jwtService .processAccessToken (expiredAccessToken , mockResponse ))
You can’t perform that action at this time.
0 commit comments