mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-1033 : Spring upgrade to 5.3.2 (#213)
- Update test as per5de549d7d4
- before spring 5.3.0, AbstractFallbackSQLExceptionTranslator was translating org.postgresql.util.PSQLException as UncategorizedSQLException - now it returns null (ref.e9cded560d (diff-c6aa1c6a4b11e8a722808e945c4c5b6ef471c42871c7ce830554dde81ad7f2c2L89)
) Co-authored-by: CezarLeahu <35226487+CezarLeahu@users.noreply.github.com>
This commit is contained in:
@@ -243,7 +243,7 @@ public class QuickShareRestApiTest extends BaseWebScriptTest
|
||||
// get content thumbnail for node (authenticated)
|
||||
rsp = sendRequest(new GetRequest(AUTH_CONTENT_THUMBNAIL_URL.replace("{node_ref_3}", testNodeRef_3).replace("{thumbnailname}", "doclib")), expectedStatusOK, USER_ONE);
|
||||
String type = rsp.getContentType();
|
||||
assertEquals(TEST_MIMETYPE_PNG, type);
|
||||
assertEquals(TEST_MIMETYPE_PNG + ";charset=UTF-8", type);
|
||||
|
||||
// As user two ...
|
||||
|
||||
@@ -279,7 +279,7 @@ public class QuickShareRestApiTest extends BaseWebScriptTest
|
||||
// get content thumbnail for share (note: can be unauthenticated)
|
||||
rsp = sendRequest(new GetRequest(SHARE_CONTENT_THUMBNAIL_URL.replace("{shared_id}", sharedId).replace("{thumbnailname}", "doclib")), expectedStatusOK, USER_TWO);
|
||||
type = rsp.getContentType();
|
||||
assertEquals(TEST_MIMETYPE_PNG, type);
|
||||
assertEquals(TEST_MIMETYPE_PNG + ";charset=UTF-8", type);
|
||||
|
||||
// As user one ...
|
||||
|
||||
|
Reference in New Issue
Block a user