mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84925: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 83487: Build fix. Related to ACE-2639. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85242 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -636,7 +636,8 @@ public class FacetRestApiTest extends BaseWebScriptTest
|
||||
// *some* facetable properties.
|
||||
JSONObject jsonRsp = new JSONObject(new JSONTokener(rsp.getContentAsString()));
|
||||
|
||||
JSONObject properties = jsonRsp.getJSONObject(FacetablePropertiesGet.PROPERTIES_KEY);
|
||||
JSONObject data = jsonRsp.getJSONObject("data");
|
||||
JSONArray properties = data.getJSONArray(FacetablePropertiesGet.PROPERTIES_KEY);
|
||||
|
||||
final int arbitraryLimit = 25;
|
||||
assertTrue("Expected 'many' properties, but found 'not very many'", properties.length() > arbitraryLimit);
|
||||
@@ -659,7 +660,8 @@ public class FacetRestApiTest extends BaseWebScriptTest
|
||||
// *some* facetable properties.
|
||||
JSONObject jsonRsp = new JSONObject(new JSONTokener(rsp.getContentAsString()));
|
||||
|
||||
JSONObject properties = jsonRsp.getJSONObject(FacetablePropertiesGet.PROPERTIES_KEY);
|
||||
JSONObject data = jsonRsp.getJSONObject("data");
|
||||
JSONArray properties = data.getJSONArray(FacetablePropertiesGet.PROPERTIES_KEY);
|
||||
|
||||
final int arbitraryLimit = 100;
|
||||
assertTrue("Expected 'not very many' properties, but found 'many'", properties.length() < arbitraryLimit);
|
||||
|
Reference in New Issue
Block a user