You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2017/05/09 13:27:18 UTC

[4/6] brooklyn-client git commit: fix misleading string description in test, following PR review

fix misleading string description in test, following PR review


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/51c05d80
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/51c05d80
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/51c05d80

Branch: refs/heads/master
Commit: 51c05d80402d9fd1550b6e0f482f381f53489873
Parents: 0260945
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Tue May 9 14:22:41 2017 +0100
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Tue May 9 14:22:41 2017 +0100

----------------------------------------------------------------------
 .../org/apache/brooklyn/rest/client/BrooklynApiGetEntityTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/51c05d80/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiGetEntityTest.java
----------------------------------------------------------------------
diff --git a/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiGetEntityTest.java b/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiGetEntityTest.java
index 4c5babe..9dd22fa 100644
--- a/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiGetEntityTest.java
+++ b/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiGetEntityTest.java
@@ -53,7 +53,7 @@ public class BrooklynApiGetEntityTest {
     @Test
     public void testGetEntityIgnoresExtraFields() {
         BrooklynApi.getEntity(
-            new BuiltResponse(200, null, "{ foo: \"This should cause an error\" }", null),
+            new BuiltResponse(200, null, "{ foo: \"This unknown field should be silently ignored\" }", null),
             TaskSummary.class);
     }