Skip to content

Commit

Permalink
fix(core) failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Jan 23, 2025
1 parent 2f10426 commit bbc1000
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"))
Expand Down

0 comments on commit bbc1000

Please sign in to comment.