Skip to content

Commit 618801a

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,8 @@ void matchIncludeSingleProfile() {
243243
SourceData sourceData = data.apply(context);
244244

245245
Assertions.assertThat(sourceData.sourceName()).isEqualTo("secret.red.red-with-profile.default.with-profile");
246-
Assertions.assertThat(sourceData.sourceData().size()).isEqualTo(2);
246+
Assertions.assertThat(sourceData.sourceData().size()).isEqualTo(1);
247247
Assertions.assertThat(sourceData.sourceData().get("taste")).isEqualTo("mango");
248-
Assertions.assertThat(sourceData.sourceData().get("color")).isEqualTo("really-red");
249248

250249
}
251250

0 commit comments

Comments
 (0)