fix typo in method AppRole.Builder#wit0hTokenPeriod (#49)
This commit is contained in:
@ -771,7 +771,7 @@ class HTTPVaultConnectorTest {
|
||||
|
||||
/* Update role model with custom flags */
|
||||
AppRole role2 = AppRole.builder(roleName)
|
||||
.wit0hTokenPeriod(321)
|
||||
.withTokenPeriod(321)
|
||||
.build();
|
||||
|
||||
/* Create role */
|
||||
|
@ -138,7 +138,7 @@ class AppRoleBuilderTest {
|
||||
.withTokenExplicitMaxTtl(TOKEN_EXPLICIT_MAX_TTL)
|
||||
.withTokenNoDefaultPolicy(TOKEN_NO_DEFAULT_POLICY)
|
||||
.withTokenNumUses(TOKEN_NUM_USES)
|
||||
.wit0hTokenPeriod(TOKEN_PERIOD)
|
||||
.withTokenPeriod(TOKEN_PERIOD)
|
||||
.withTokenType(TOKEN_TYPE)
|
||||
.build();
|
||||
assertThat(role.getName(), is(NAME));
|
||||
@ -183,7 +183,7 @@ class AppRoleBuilderTest {
|
||||
.withTokenExplicitMaxTtl(TOKEN_EXPLICIT_MAX_TTL)
|
||||
.withTokenNoDefaultPolicy(TOKEN_NO_DEFAULT_POLICY)
|
||||
.withTokenNumUses(TOKEN_NUM_USES)
|
||||
.wit0hTokenPeriod(TOKEN_PERIOD)
|
||||
.withTokenPeriod(TOKEN_PERIOD)
|
||||
.withTokenType(TOKEN_TYPE)
|
||||
.build();
|
||||
assertThat(role.getName(), is(NAME));
|
||||
|
Reference in New Issue
Block a user