Validate only that the query is valid

This commit is contained in:
Andreea Nechifor
2017-11-09 10:10:54 +02:00
parent 0143baf827
commit b0fb0816ca
@@ -53,9 +53,8 @@ public class QueriesTest extends RestTest
/*
* now making the correct call with a valid term value
*/
RestNodeModelsCollection nodes = restClient.withCoreAPI().usingQueries().usingParams("term=name").findNodes();
restClient.withCoreAPI().usingQueries().usingParams("term=name").findNodes();
restClient.assertStatusCodeIs(HttpStatus.OK);
nodes.assertThat().entriesListIsNotEmpty();
}
@TestRail(section = { TestGroup.REST_API,