Merge from SEAMIST3

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2008-09-04 10:59:40 +00:00
parent 7e0b3f5453
commit bf504cba8c
6 changed files with 38 additions and 75 deletions

View File

@@ -150,7 +150,7 @@ public class ThumbnailServiceTest extends BaseWebScriptTest
if (this.contentService.getTransformer(MimetypeMap.MIMETYPE_PDF, MimetypeMap.MIMETYPE_FLASH) != null)
{
String url = "/api/node/" + pdfNode.getStoreRef().getProtocol() + "/" + pdfNode.getStoreRef().getIdentifier() + "/" + pdfNode.getId() + "/content/thumbnaildefinitions";
MockHttpServletResponse response = this.getRequest(url, 200);
Response response = sendRequest(new GetRequest(url), 200);
JSONArray array = new JSONArray(response.getContentAsString());
assertNotNull(array);
@@ -173,7 +173,7 @@ public class ThumbnailServiceTest extends BaseWebScriptTest
}
String url = "/api/node/" + jpgNode.getStoreRef().getProtocol() + "/" + jpgNode.getStoreRef().getIdentifier() + "/" + jpgNode.getId() + "/content/thumbnaildefinitions";
MockHttpServletResponse response = this.getRequest(url, 200);
Response response = sendRequest(new GetRequest(url), 200);
JSONArray array = new JSONArray(response.getContentAsString());
assertNotNull(array);