Repository: camel Updated Branches: refs/heads/camel-2.17.x 1ac5c475e -> e13c890fa
CAMEL-10038: update the expected error message in the test case to match that thrown by DefaultPropertiesParser (cherry picked from commit 8c091e874cfef442bcd9b657795632ccb8ef1c6c) (cherry picked from commit 81374996a94104529b3f7f61a07967eeb2d48058) Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d8ad8365 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d8ad8365 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d8ad8365 Branch: refs/heads/camel-2.17.x Commit: d8ad8365ed77cf78f525bb898f62fd3e0057874f Parents: 2ffd8e0 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:59:57 2016 +0200 ---------------------------------------------------------------------- .../blueprint/ConfigAdminNoDefaultValuesBlueprintCreationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/d8ad8365/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}}")); } }