Related to issue
39278:A new ProcessHQLQuery to export the product stock by
assortment is needed
Modify POSProductStockRequest test to verify the storage bin.
--- a/src-test/org/openbravo/test/mobile/retail/pack/webservice/tests/retailapi/POSProductStockRequest.java Thu Nov 08 16:02:18 2018 -0500
+++ b/src-test/org/openbravo/test/mobile/retail/pack/webservice/tests/retailapi/POSProductStockRequest.java Wed Nov 07 10:04:10 2018 -0500
@@ -57,6 +57,7 @@
JSONArray responseData = responseJSON.getJSONArray("data");
assertThat("The number of expected records is not correct", responseData.length(), equalTo(103));
JSONObject firstElementOfJSON = responseData.getJSONObject(0);
+ assertThat(firstElementOfJSON.getString("id"), equalTo("669C71CE4A414A2798AE972FA029270F"));
assertThat(firstElementOfJSON.getString("m_product_id"),
equalTo("0464BE82FEC8438488C79797A1F18099"));
assertThat(firstElementOfJSON.getString("searchKey"), equalTo("WVG/B0001"));