mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9153 Start on the discussion replies CQ
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -672,6 +672,24 @@ public class DiscussionServiceImplTest
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensures that the listing / nesting of replies is correct
|
||||
*/
|
||||
@Test public void replyListing() throws Exception
|
||||
{
|
||||
// Create two sites and test
|
||||
TopicInfo siteT1 = DISCUSSION_SERVICE.createTopic(DISCUSSION_SITE.getShortName(), "ST1");
|
||||
TopicInfo nodeT1 = DISCUSSION_SERVICE.createTopic(FORUM_NODE, "NT1");
|
||||
testNodesToTidy.add(siteT1.getNodeRef());
|
||||
testNodesToTidy.add(nodeT1.getNodeRef());
|
||||
|
||||
for(TopicInfo topic : new TopicInfo[] {siteT1, nodeT1})
|
||||
{
|
||||
// Listing initially gives nothing
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensures that when we try to write an entry to the
|
||||
* container of a new site, it is correctly setup for us.
|
||||
|
Reference in New Issue
Block a user