Repository: curator Updated Branches: refs/heads/CURATOR-394 a193ce02c -> 6f3b178fd
updated tests Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/6f3b178f Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/6f3b178f Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/6f3b178f Branch: refs/heads/CURATOR-394 Commit: 6f3b178fdd6cc6ae914d4eead2ee74e4afbd5ec8 Parents: a193ce0 Author: randgalt <randg...@apache.org> Authored: Sun Mar 26 10:25:57 2017 -0500 Committer: randgalt <randg...@apache.org> Committed: Sun Mar 26 10:25:57 2017 -0500 ---------------------------------------------------------------------- .../apache/curator/x/discovery/TestJsonInstanceSerializer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/6f3b178f/curator-x-discovery/src/test/java/org/apache/curator/x/discovery/TestJsonInstanceSerializer.java ---------------------------------------------------------------------- diff --git a/curator-x-discovery/src/test/java/org/apache/curator/x/discovery/TestJsonInstanceSerializer.java b/curator-x-discovery/src/test/java/org/apache/curator/x/discovery/TestJsonInstanceSerializer.java index 4b6325d..0ed6c3d 100644 --- a/curator-x-discovery/src/test/java/org/apache/curator/x/discovery/TestJsonInstanceSerializer.java +++ b/curator-x-discovery/src/test/java/org/apache/curator/x/discovery/TestJsonInstanceSerializer.java @@ -98,7 +98,7 @@ public class TestJsonInstanceSerializer @Test public void testPayloadAsList() throws Exception { - JsonInstanceSerializer<Object> serializer = new JsonInstanceSerializer<Object>(Object.class); + JsonInstanceSerializer<Object> serializer = new JsonInstanceSerializer<Object>(Object.class, false); List<String> payload = new ArrayList<String>(); payload.add("Test value 1"); payload.add("Test value 2"); @@ -121,7 +121,7 @@ public class TestJsonInstanceSerializer @Test public void testPayloadAsMap() throws Exception { - JsonInstanceSerializer<Object> serializer = new JsonInstanceSerializer<Object>(Object.class); + JsonInstanceSerializer<Object> serializer = new JsonInstanceSerializer<Object>(Object.class, false); Map<String,String> payload = new HashMap<String,String>(); payload.put("1", "Test value 1"); payload.put("2", "Test value 2");