Skip to content

Commit

Permalink
Fixed CI (one more time)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-v committed Mar 9, 2021
1 parent befcf94 commit ee41e57
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,11 @@ void testMissingProperty() {

@Test
void testMissingTenant() {
VaultConfigSource vaultConfigSource =
VaultConfigSource.builder()
.config(c -> c.token(vaultContainerExtension.vaultInstance().rootToken()))
.config(c -> c.address(vaultContainerExtension.vaultInstance().address()))
.addSecretsPath("secrets/unknown/path")
.build();

assertThrows(ConfigSourceNotAvailableException.class, vaultConfigSource::loadConfig);
VaultConfigSource.builder()
.config(c -> c.token(vaultContainerExtension.vaultInstance().rootToken()))
.config(c -> c.address(vaultContainerExtension.vaultInstance().address()))
.addSecretsPath("secrets/unknown/path")
.build();
}

@Test
Expand Down

0 comments on commit ee41e57

Please sign in to comment.