Skip to content

Commit

Permalink
[ISSUE alibaba#12060] fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DemonHugo committed May 16, 2024
1 parent b337b95 commit 10cd453
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void testGetTokenTtlInSecondsWhenAuthDisabled() throws AccessException {
Assert.assertEquals(Integer.parseInt(ttl), jwtTokenManager.getTokenTtlInSeconds(jwtTokenManager.createToken("nacos")));
// invalid secret key
MockEnvironment mockEnvironment = new MockEnvironment();
mockEnvironment.setProperty(AuthConstants.TOKEN_SECRET_KEY,"");
mockEnvironment.setProperty(AuthConstants.TOKEN_SECRET_KEY, "");
EnvUtil.setEnvironment(mockEnvironment);
jwtTokenManager = new JwtTokenManager(authConfigs);
Assert.assertEquals(Integer.parseInt(ttl), jwtTokenManager.getTokenTtlInSeconds(jwtTokenManager.createToken("nacos")));
Expand Down

0 comments on commit 10cd453

Please sign in to comment.