mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- inserted new blog icons
- fixes for top search bar, but icons still not correctly layed out - fixed blog/discussion REST API unit tests - fix for broken external blog config dialog - documentlibrary activity now produces correct download url for files (filename at the end of the url was missing) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -62,8 +62,8 @@ public class BlogServiceTest extends BaseWebScriptTest
|
||||
private static final String SITE_SHORT_NAME_BLOG = "BlogSiteShortName";
|
||||
private static final String COMPONENT_BLOG = "blog";
|
||||
|
||||
private static final String URL_BLOG_POST = "/blog/post/site/" + SITE_SHORT_NAME_BLOG + "/" + COMPONENT_BLOG + "/";
|
||||
private static final String URL_BLOG_POSTS = "/blog/site/" + SITE_SHORT_NAME_BLOG + "/" + COMPONENT_BLOG + "/posts";
|
||||
private static final String URL_BLOG_POST = "/api/blog/post/site/" + SITE_SHORT_NAME_BLOG + "/" + COMPONENT_BLOG + "/";
|
||||
private static final String URL_BLOG_POSTS = "/api/blog/site/" + SITE_SHORT_NAME_BLOG + "/" + COMPONENT_BLOG + "/posts";
|
||||
|
||||
private List<String> posts = new ArrayList<String>(5);
|
||||
private List<String> drafts = new ArrayList<String>(5);
|
||||
@@ -224,12 +224,12 @@ public class BlogServiceTest extends BaseWebScriptTest
|
||||
|
||||
private String getCommentsUrl(String nodeRef)
|
||||
{
|
||||
return "/node/" + nodeRef.replace("://", "/") + "/comments";
|
||||
return "/api/node/" + nodeRef.replace("://", "/") + "/comments";
|
||||
}
|
||||
|
||||
private String getCommentUrl(String nodeRef)
|
||||
{
|
||||
return "/comment/node/" + nodeRef.replace("://", "/");
|
||||
return "/api/comment/node/" + nodeRef.replace("://", "/");
|
||||
}
|
||||
|
||||
private JSONObject createComment(String nodeRef, String title, String content, int expectedStatus)
|
||||
|
@@ -61,8 +61,8 @@ public class DiscussionServiceTest extends BaseWebScriptTest
|
||||
private static final String SITE_SHORT_NAME_DISCUSSION = "DiscussionSiteShortName";
|
||||
private static final String COMPONENT_DISCUSSION = "discussion";
|
||||
|
||||
private static final String URL_FORUM_POST = "/forum/post/site/" + SITE_SHORT_NAME_DISCUSSION + "/" + COMPONENT_DISCUSSION + "/";
|
||||
private static final String URL_FORUM_POSTS = "/forum/site/" + SITE_SHORT_NAME_DISCUSSION + "/" + COMPONENT_DISCUSSION + "/posts";
|
||||
private static final String URL_FORUM_POST = "/api/forum/post/site/" + SITE_SHORT_NAME_DISCUSSION + "/" + COMPONENT_DISCUSSION + "/";
|
||||
private static final String URL_FORUM_POSTS = "/api/forum/site/" + SITE_SHORT_NAME_DISCUSSION + "/" + COMPONENT_DISCUSSION + "/posts";
|
||||
|
||||
private List<String> posts = new ArrayList<String>(5);
|
||||
|
||||
@@ -194,12 +194,12 @@ public class DiscussionServiceTest extends BaseWebScriptTest
|
||||
|
||||
private String getRepliesUrl(String nodeRef)
|
||||
{
|
||||
return "/forum/post/node/" + nodeRef.replace("://", "/") + "/replies";
|
||||
return "/api/forum/post/node/" + nodeRef.replace("://", "/") + "/replies";
|
||||
}
|
||||
|
||||
private String getPostUrl(String nodeRef)
|
||||
{
|
||||
return "/forum/post/node/" + nodeRef.replace("://", "/");
|
||||
return "/api/forum/post/node/" + nodeRef.replace("://", "/");
|
||||
}
|
||||
|
||||
private JSONObject createReply(String nodeRef, String title, String content, int expectedStatus)
|
||||
|
Reference in New Issue
Block a user