CAMEL-10038: update the expected error message in the test case to match that thrown by DefaultPropertiesParser
(cherry picked from commit 8c091e874cfef442bcd9b657795632ccb8ef1c6c) Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/81374996 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/81374996 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/81374996 Branch: refs/heads/master Commit: 81374996a94104529b3f7f61a07967eeb2d48058 Parents: 5127a65 Author: Matthew Zipay <ma...@ninthtest.net> Authored: Tue Jul 19 15:41:33 2016 -0400 Committer: Grzegorz Grzybek <gr.grzy...@gmail.com> Committed: Thu Jul 21 08:53:26 2016 +0200 ---------------------------------------------------------------------- .../blueprint/ConfigAdminNoDefaultValuesBlueprintCreationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/81374996/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/ConfigAdminNoDefaultValuesBlueprintCreationTest.java ---------------------------------------------------------------------- diff --git a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/ConfigAdminNoDefaultValuesBlueprintCreationTest.java b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/ConfigAdminNoDefaultValuesBlueprintCreationTest.java index 260d2e1..63f61c0 100644 --- a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/ConfigAdminNoDefaultValuesBlueprintCreationTest.java +++ b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/ConfigAdminNoDefaultValuesBlueprintCreationTest.java @@ -31,7 +31,7 @@ public class ConfigAdminNoDefaultValuesBlueprintCreationTest extends CamelBluepr super.setUp(); fail("Should fail, because Blueprint XML uses property placeholders, but we didn't define any property sources"); } catch (Exception e) { - assertThat(e.getCause().getCause().getMessage(), equalTo("Property placeholder key: destination not found")); + assertThat(e.getCause().getCause().getMessage(), equalTo("Property with key [destination] not found in properties from text: {{destination}}")); } }