Skip to content

Commit bbc1000

Browse files
committed
fix(core) failing test
1 parent 2f10426 commit bbc1000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

camel-k-core/support/src/test/java/org/apache/camel/k/listener/PropertiesFunctionsConfigurerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void testKubernetesFunction() {
4141
.hasMessageContaining("returned null value which is not allowed, from input");
4242

4343
assertThat(runtime.getCamelContext().resolvePropertyPlaceholders("{{configmap:my-cm/my-property}}")).isEqualTo("my-cm-property");
44-
assertThat(runtime.getCamelContext().resolvePropertyPlaceholders("{{configmap:my-cm/my-property:my-default-cm}}"))
44+
assertThat(runtime.getCamelContext().resolvePropertyPlaceholders("{{configmap:my-cm/my-missing-property:my-default-cm}}"))
4545
.isEqualTo("my-default-cm");
4646

4747
assertThatThrownBy(() -> context.resolvePropertyPlaceholders("{{configmap:none/my-property}}"))

0 commit comments

Comments
 (0)