Skip to content

Commit bbd3a39

Browse files
committed
fix
Signed-off-by: wind57 <[email protected]>
1 parent 618801a commit bbd3a39

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/NamedConfigMapContextToSourceDataProviderNamespacedBatchReadTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@ void matchIncludeSingleProfile() {
185185
SourceData sourceData = data.apply(context);
186186

187187
Assertions.assertThat(sourceData.sourceName()).isEqualTo("configmap.red.red-with-profile.default");
188-
Assertions.assertThat(sourceData.sourceData())
189-
.containsExactlyInAnyOrderEntriesOf(Map.of("taste", "mango"));
188+
Assertions.assertThat(sourceData.sourceData()).containsExactlyInAnyOrderEntriesOf(Map.of("taste", "mango"));
190189

191190
}
192191

spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/NamedConfigMapContextToSourceDataProviderNamespacedBatchReadTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ void cache(CapturedOutput output) {
424424
Assertions.assertThat(redSourceData.sourceData().size()).isEqualTo(1);
425425
Assertions.assertThat(redSourceData.sourceData().get("some.color")).isEqualTo("really-red");
426426
Assertions.assertThat(output.getAll()).contains("Loaded all config maps in namespace '" + NAMESPACE + "'");
427-
Assertions.assertThat(output.getAll()).contains("Will read individual configmaps in namespace");
427+
Assertions.assertThat(output.getAll()).doesNotContain("Will read individual configmaps in namespace");
428428

429429
NormalizedSource greenNormalizedSource = new NamedConfigMapNormalizedSource("green", NAMESPACE, true, PREFIX,
430430
false);

spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/NamedSecretContextToSourceDataProviderNamespacedBatchReadTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ void cache(CapturedOutput output) {
396396
Assertions.assertThat(redSourceData.sourceData().size()).isEqualTo(1);
397397
Assertions.assertThat(redSourceData.sourceData().get("some.color")).isEqualTo("red");
398398
Assertions.assertThat(output.getAll()).contains("Loaded all secrets in namespace '" + NAMESPACE + "'");
399-
Assertions.assertThat(output.getAll()).contains("Will read individual secrets in namespace");
399+
Assertions.assertThat(output.getAll()).doesNotContain("Will read individual secrets in namespace");
400400

401401
NormalizedSource greenNormalizedSource = new NamedSecretNormalizedSource("green", NAMESPACE, true, PREFIX,
402402
false);

0 commit comments

Comments
 (0)