-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,9 +24,9 @@ void init() { | |
tokenProvider.init(); | ||
} | ||
|
||
@DisplayName("엑세스 토큰을 생성한다.") | ||
@DisplayName("엑세스 토큰을 생성합니다.") | ||
@Test | ||
void 엑세스_토큰을_생성한다() { | ||
void 엑세스_토큰을_생성합니다() { | ||
// given | ||
String email = "[email protected]"; | ||
|
||
|
@@ -38,9 +38,9 @@ void init() { | |
assertThat(actual.split("\\.")).hasSize(3); | ||
} | ||
|
||
@DisplayName("리프레시 토큰을 생성한다.") | ||
@DisplayName("리프레시 토큰을 생성합니다.") | ||
@Test | ||
void 리프레시_토큰을_생성한다() { | ||
void 리프레시_토큰을_생성합니다() { | ||
|
||
// given, when | ||
String actual = tokenProvider.generateRefreshToken(); | ||
|
@@ -50,9 +50,9 @@ void init() { | |
assertThat(actual.split("\\.")).hasSize(3); | ||
} | ||
|
||
@DisplayName("토큰들을 반환한다.") | ||
@DisplayName("토큰들을 반환합니다.") | ||
@Test | ||
void 토큰들을_반환한다() { | ||
void 토큰들을_반환합니다() { | ||
// given | ||
String email = "[email protected]"; | ||
|
||
|
@@ -63,9 +63,9 @@ void init() { | |
assertThat(actual).isNotNull(); // 토큰이 null이 아닌지 확인 | ||
} | ||
|
||
@DisplayName("리프레시 토큰으로 엑세스 토큰을 반환한다.") | ||
@DisplayName("리프레시 토큰으로 엑세스 토큰을 반환합니다.") | ||
@Test | ||
void 리프레시_토큰으로_엑세스_토큰을_반환한다() { | ||
void 리프레시_토큰으로_엑세스_토큰을_반환합니다() { | ||
// given | ||
String refreshToken = "refreshToken"; | ||
String email = "[email protected]"; | ||
|
@@ -77,9 +77,9 @@ void init() { | |
assertThat(actual).isNotNull(); | ||
} | ||
|
||
@DisplayName("토큰을 검증하여 유효하지 않으면 false를 반환한다.") | ||
@DisplayName("토큰을 검증하여 유효하지 않으면 false를 반환합니다.") | ||
@Test | ||
void 토큰을_검증하여_유효하지_않으면_false를_반환한다() { | ||
void 토큰을_검증하여_유효하지_않으면_false를_반환합니다() { | ||
// given | ||
String malformedToken = "malformedToken"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,9 @@ class MemberRepositoryTest { | |
@Mock | ||
private MemberRepository memberRepository; | ||
|
||
@DisplayName("email로 member를 찾는다.") | ||
@DisplayName("email로 member를 찾습니다.") | ||
@Test | ||
void email로_member를_찾는다() { | ||
void email로_member를_찾습니다() { | ||
// given | ||
String email = "[email protected]"; | ||
Member member = Member.builder() | ||
|