Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismcg14 committed Apr 14, 2022
1 parent 80b76a9 commit 6f865b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void lookUp_refreshesToken_when_currentTokenIsAboutToExpire() throws Conf

vaultStoragePlugin.lookup();

verify(vaultClientProvider).getVaultClient();
verify(vaultClientProvider, times(2)).getVaultClient();
}

@Test
Expand Down Expand Up @@ -159,6 +159,6 @@ public void lookUp_refreshesToken_when_tokenIsExpired() throws ConfigurationExce
vaultStoragePlugin.properties=properties;
vaultStoragePlugin.lookup();

verify(vaultClientProvider).getVaultClient();
verify(vaultClientProvider, times(2)).getVaultClient();
}
}

0 comments on commit 6f865b0

Please sign in to comment.