mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127461 jvonka: Fix RA-1011: REST API create site - can't create site with id/shortName = 'true' git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127614 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -178,6 +178,18 @@ public class TestSites extends EnterpriseTestApi
|
||||
sitesProxy.createSite(site);
|
||||
}
|
||||
|
||||
// test create using site id = "true" (RA-1101)
|
||||
{
|
||||
|
||||
String siteId = "true";
|
||||
String siteTitle = "string";
|
||||
String siteDescription = "string";
|
||||
|
||||
Site site = new SiteImpl(null, siteId, null, siteTitle, siteDescription, SiteVisibility.PUBLIC.toString(), null, null);
|
||||
|
||||
sitesProxy.createSite(site);
|
||||
}
|
||||
|
||||
// -ve tests
|
||||
{
|
||||
// invalid auth
|
||||
|
Reference in New Issue
Block a user