fix typo in method AppRole.Builder#wit0hTokenPeriod (#49)

This commit is contained in:
2021-06-06 12:02:01 +02:00
committed by GitHub
parent 50d485fab8
commit bdf4fc4b83
6 changed files with 41 additions and 10 deletions

View File

@ -771,7 +771,7 @@ class HTTPVaultConnectorTest {
/* Update role model with custom flags */
AppRole role2 = AppRole.builder(roleName)
.wit0hTokenPeriod(321)
.withTokenPeriod(321)
.build();
/* Create role */

View File

@ -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));