brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [4/6] brooklyn-client git commit: fix misleading string description in test, following PR review
Date Tue, 09 May 2017 13:27:18 GMT
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 <alex.heneveld@cloudsoftcorp.com>
Authored: Tue May 9 14:22:41 2017 +0100
Committer: Alex Heneveld <alex.heneveld@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);
     }
 


Mime
View raw message