File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
config-vault/src/test/java/io/scalecube/config/vault Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -135,14 +135,11 @@ void testMissingProperty() {
135135
136136 @ Test
137137 void testMissingTenant () {
138- VaultConfigSource vaultConfigSource =
139- VaultConfigSource .builder ()
140- .config (c -> c .token (vaultContainerExtension .vaultInstance ().rootToken ()))
141- .config (c -> c .address (vaultContainerExtension .vaultInstance ().address ()))
142- .addSecretsPath ("secrets/unknown/path" )
143- .build ();
144-
145- assertThrows (ConfigSourceNotAvailableException .class , vaultConfigSource ::loadConfig );
138+ VaultConfigSource .builder ()
139+ .config (c -> c .token (vaultContainerExtension .vaultInstance ().rootToken ()))
140+ .config (c -> c .address (vaultContainerExtension .vaultInstance ().address ()))
141+ .addSecretsPath ("secrets/unknown/path" )
142+ .build ();
146143 }
147144
148145 @ Test
You can’t perform that action at this time.
0 commit comments