Skip to content

Commit a266c21

Browse files
committed
in b2_0 we can't send an XML payload and get back a JSON response; so adjusting the test accordingly
1 parent 4cdbc98 commit a266c21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/marklogic/client/test/extra/JacksonHandleTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class JacksonHandleTest {
3939
@BeforeClass
4040
public static void beforeClass() {
4141
Common.connect();
42+
// System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.wire", "debug");
4243
}
4344
@AfterClass
4445
public static void afterClass() {
@@ -92,8 +93,7 @@ public void test105Searches() throws IOException {
9293
StructuredQueryBuilder qb = queryMgr.newStructuredQueryBuilder();
9394

9495
for (int i=0;i<105;i++) {
95-
for (QueryDefinition t : new QueryDefinition[] { qb.term("leaf3"),
96-
qb.build(qb.value(qb.element("leaf"), "leaf3")) }) {
96+
for (QueryDefinition t : new QueryDefinition[] { qb.term("leaf3") }) {
9797
JacksonHandle results = queryMgr.search(t, new JacksonHandle());
9898
assertNotNull(results);
9999
JsonNode jsonResults =results.get();

0 commit comments

Comments
 (0)