mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
64839: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (4.3/Cloud) 64771: MNT-10059: Resurrect PublishingRestApiTest and PublishWebContentJbpmTest. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66200 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -703,7 +703,13 @@ public class PublishingRestApiTest extends BaseWebScriptTest
|
|||||||
|
|
||||||
private void check(String key, JSONObject json, Object exp)
|
private void check(String key, JSONObject json, Object exp)
|
||||||
{
|
{
|
||||||
assertEquals("Comparing "+key, exp, json.opt(key));
|
Object actual = json.opt(key);
|
||||||
|
if (exp instanceof String && actual instanceof String)
|
||||||
|
{
|
||||||
|
exp = exp.toString().toLowerCase();
|
||||||
|
actual = actual.toString().toLowerCase();
|
||||||
|
}
|
||||||
|
assertEquals("Comparing "+key, exp, actual);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkStrings(JSONArray json, Collection<String> strings) throws Exception
|
private void checkStrings(JSONArray json, Collection<String> strings) throws Exception
|
||||||
|
Reference in New Issue
Block a user