-
Notifications
You must be signed in to change notification settings - Fork 56
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
1 parent
e420920
commit fdac865
Showing
1 changed file
with
3 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,13 +12,9 @@ | |
class JwtTokenProviderTest { | ||
private final String originSecretKey = "ThisIsATestKeyForJsonWebTokenProvider"; | ||
private final long originValidity = 6000; | ||
private final JwtTokenProvider jwtTokenProvider; | ||
private final Member member; | ||
|
||
public JwtTokenProviderTest() { | ||
this.jwtTokenProvider = new JwtTokenProvider(new JwtProperties(originSecretKey, originValidity)); | ||
this.member = new Member(1L, "test", "[email protected]", "ADMIN"); | ||
} | ||
private final JwtTokenProvider jwtTokenProvider = new JwtTokenProvider( | ||
new JwtProperties(originSecretKey, originValidity)); | ||
private final Member member = new Member(1L, "test", "[email protected]", "ADMIN"); | ||
|
||
@Test | ||
void 토큰_생성_성공() { | ||
|