Related to issue 39278:A new ProcessHQLQuery to export the product stock by
authorArmaignac <collazoandy4@gmail.com>
Wed, 07 Nov 2018 10:04:10 -0500
changeset 7852 16049ae18eba
parent 7851 49383079f3eb
child 7853 4fa85eba4432
Related to issue 39278:A new ProcessHQLQuery to export the product stock by
assortment is needed

Modify POSProductStockRequest test to verify the storage bin.
src-test/org/openbravo/test/mobile/retail/pack/webservice/tests/retailapi/POSProductStockRequest.java
--- 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"));