From 5622a468c586092d4b41ce7ca56fcf9876e8a8f0 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 18 Oct 2017 20:04:43 +0200 Subject: [PATCH] Polishing. Replace PropertySources annotation with repeated annotations in test. See gh-161. --- .../VaultPropertySourceMultipleIntegrationTests.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spring-vault-core/src/test/java/org/springframework/vault/annotation/VaultPropertySourceMultipleIntegrationTests.java b/spring-vault-core/src/test/java/org/springframework/vault/annotation/VaultPropertySourceMultipleIntegrationTests.java index 2e72bcbe..2b4f69d0 100644 --- a/spring-vault-core/src/test/java/org/springframework/vault/annotation/VaultPropertySourceMultipleIntegrationTests.java +++ b/spring-vault-core/src/test/java/org/springframework/vault/annotation/VaultPropertySourceMultipleIntegrationTests.java @@ -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 { }