Skip to content

Commit e7c427b

Browse files
linting
1 parent b57e447 commit e7c427b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spring-cloud-kubernetes-controllers/spring-cloud-kubernetes-configserver/src/test/java/org/springframework/cloud/kubernetes/configserver/KubernetesEnvironmentRepositoryTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,24 +197,24 @@ public void testApplicationCaseWithNewConstructor() throws ApiException {
197197
when(properties.getOrder()).thenReturn(0);
198198

199199
when(coreApi.listNamespacedConfigMap(eq("default"), eq(null), eq(null), eq(null), eq(null), eq(null), eq(null),
200-
eq(null), eq(null), eq(null), eq(null), eq(null)))
200+
eq(null), eq(null), eq(null), eq(null), eq(null)))
201201
.thenReturn(CONFIGMAP_DEFAULT_LIST);
202202
when(coreApi.listNamespacedSecret(eq("default"), eq(null), eq(null), eq(null), eq(null), eq(null), eq(null),
203-
eq(null), eq(null), eq(null), eq(null), eq(null)))
203+
eq(null), eq(null), eq(null), eq(null), eq(null)))
204204
.thenReturn(SECRET_LIST);
205205
when(coreApi.listNamespacedConfigMap(eq("dev"), eq(null), eq(null), eq(null), eq(null), eq(null), eq(null),
206-
eq(null), eq(null), eq(null), eq(null), eq(null)))
206+
eq(null), eq(null), eq(null), eq(null), eq(null)))
207207
.thenReturn(CONFIGMAP_DEV_LIST);
208208

209209
KubernetesEnvironmentRepository environmentRepository = new KubernetesEnvironmentRepository(coreApi,
210-
KUBERNETES_PROPERTY_SOURCE_SUPPLIER, "default", properties);
210+
KUBERNETES_PROPERTY_SOURCE_SUPPLIER, "default", properties);
211211

212212
Environment environment = environmentRepository.findOne("application", "", "");
213213

214214
assertThat(environment.getPropertySources().size()).isEqualTo(2);
215215
environment.getPropertySources().forEach(propertySource -> {
216216
assertThat(propertySource.getName().equals("configmap.application.default")
217-
|| propertySource.getName().equals("secret.application.default"))
217+
|| propertySource.getName().equals("secret.application.default"))
218218
.isTrue();
219219
if (propertySource.getName().equals("configmap.application.default")) {
220220
assertThat(propertySource.getSource().size()).isEqualTo(3);

0 commit comments

Comments
 (0)