mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133185 jkaabimofrad: APPSREPO-61: As part of code review, renamed the quick share expiry date period flag. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -903,7 +903,7 @@ public class SharedLinkApiTest extends AbstractBaseApiTest
|
||||
body.setExpiresAt(DateTime.now().minusSeconds(20).toDate());
|
||||
post(URL_SHARED_LINKS, RestApiUtil.toJsonAsString(body), 400);
|
||||
|
||||
// The default expiryDate period is DAYS (see: 'system.quickshare.expiry_date.enforce.period' property),
|
||||
// The default expiryDate period is DAYS (see: 'system.quickshare.expiry_date.enforce.minimum.period' property),
|
||||
// so the expiry date must be at least 1 day from now
|
||||
body.setExpiresAt(DateTime.now().plusMinutes(5).toDate());
|
||||
post(URL_SHARED_LINKS, RestApiUtil.toJsonAsString(body), 400);
|
||||
|
Reference in New Issue
Block a user