Related to issue
32912: The test has been improved
The test has been improved.
--- a/src-test/src/org/openbravo/test/datasource/EmptyStringWhereAndFilterClauseParameter.java Wed May 11 15:19:19 2016 -0400
+++ b/src-test/src/org/openbravo/test/datasource/EmptyStringWhereAndFilterClauseParameter.java Thu May 12 17:14:39 2016 +0200
@@ -51,7 +51,7 @@
is(String.valueOf(JsonConstants.RPCREQUEST_STATUS_SUCCESS)));
}
- private Map<String, String> fillInTheParameters() throws Exception {
+ private Map<String, String> fillInTheParameters() {
Map<String, String> params = new HashMap<String, String>();
params.put("_targetRecordId", WAREHOUSE_LOCATOR_ID);
params.put("_filterByParentProperty", "warehouse");
@@ -64,8 +64,8 @@
}
private String getDataSourceResponse() throws Exception {
- String response = doRequest("/org.openbravo.service.datasource/" + "Locator",
- fillInTheParameters(), 200, "POST");
+ String response = doRequest("/org.openbravo.service.datasource/Locator", fillInTheParameters(),
+ 200, "POST");
return response;
}