You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2025/01/23 18:42:00 UTC

(camel-k-runtime) branch release-3.15.x updated: fix(core) failing test

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch release-3.15.x
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/release-3.15.x by this push:
     new bbc10003 fix(core) failing test
bbc10003 is described below

commit bbc10003690078e24e3d5aa3a135fd5ecd8954fc
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Jan 23 19:14:09 2025 +0100

    fix(core) failing test
---
 .../org/apache/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 e4175c8e..d9c6334c 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 class PropertiesFunctionsConfigurerTest {
             .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}}"))