|
|
@ -187,6 +187,7 @@ public class EnvironmentDecryptApplicationInitializerTests { |
|
|
|
Collections.singletonMap("key", "{cipher}value2")); |
|
|
|
Collections.singletonMap("key", "{cipher}value2")); |
|
|
|
|
|
|
|
|
|
|
|
CompositePropertySource cps = mock(CompositePropertySource.class); |
|
|
|
CompositePropertySource cps = mock(CompositePropertySource.class); |
|
|
|
|
|
|
|
when(cps.getName()).thenReturn("mockpropertysource"); |
|
|
|
when(cps.getPropertyNames()).thenReturn(devProfile.getPropertyNames()); |
|
|
|
when(cps.getPropertyNames()).thenReturn(devProfile.getPropertyNames()); |
|
|
|
when(cps.getPropertySources()) |
|
|
|
when(cps.getPropertySources()) |
|
|
|
.thenReturn(Arrays.asList(devProfile, defaultProfile)); |
|
|
|
.thenReturn(Arrays.asList(devProfile, defaultProfile)); |
|
|
|