Polishing.

Replace PropertySources annotation with repeated annotations in test.

See gh-161.
This commit is contained in:
Mark Paluch
2017-10-18 20:04:43 +02:00
parent d1a778e6a7
commit 5622a468c5

View File

@@ -35,16 +35,15 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* Integration test for {@link VaultPropertySource} using multiple annotations.
*
*
* @author Mark Paluch
*/
@RunWith(SpringRunner.class)
@ContextConfiguration
public class VaultPropertySourceMultipleIntegrationTests {
@VaultPropertySources({
@VaultPropertySource(value = "secret/myapp/profile", propertyNamePrefix = "database."),
@VaultPropertySource("secret/myapp") })
@VaultPropertySource(value = "secret/myapp/profile", propertyNamePrefix = "database.")
@VaultPropertySource("secret/myapp")
static class Config extends VaultIntegrationTestConfiguration {
}