From bbc10003690078e24e3d5aa3a135fd5ecd8954fc Mon Sep 17 00:00:00 2001 From: Pasquale Congiusti Date: Thu, 23 Jan 2025 19:14:09 +0100 Subject: [PATCH] fix(core) failing test --- .../camel/k/listener/PropertiesFunctionsConfigurerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camel-k-core/support/src/test/java/org/apache/camel/k/listener/PropertiesFunctionsConfigurerTest.java b/camel-k-core/support/src/test/java/org/apache/camel/k/listener/PropertiesFunctionsConfigurerTest.java index e4175c8e0..d9c6334c3 100644 --- a/camel-k-core/support/src/test/java/org/apache/camel/k/listener/PropertiesFunctionsConfigurerTest.java +++ b/camel-k-core/support/src/test/java/org/apache/camel/k/listener/PropertiesFunctionsConfigurerTest.java @@ -41,7 +41,7 @@ public void testKubernetesFunction() { .hasMessageContaining("returned null value which is not allowed, from input"); assertThat(runtime.getCamelContext().resolvePropertyPlaceholders("{{configmap:my-cm/my-property}}")).isEqualTo("my-cm-property"); - assertThat(runtime.getCamelContext().resolvePropertyPlaceholders("{{configmap:my-cm/my-property:my-default-cm}}")) + assertThat(runtime.getCamelContext().resolvePropertyPlaceholders("{{configmap:my-cm/my-missing-property:my-default-cm}}")) .isEqualTo("my-default-cm"); assertThatThrownBy(() -> context.resolvePropertyPlaceholders("{{configmap:none/my-property}}"))