mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Figured out the hibernate problem. Foolishness on my part. ContentBeanImpl was missing a
default constructor. Minor mods to the mapping file to fix my self made difficulty. AVMNodeFactory now does the right thing with hibernate proxies. Test now extends to creating a file in a directory in a repository. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -79,6 +79,8 @@ public class AVMServiceTest extends TestCase
|
||||
ArrayList<String> toSnapshot = new ArrayList<String>();
|
||||
toSnapshot.add("main");
|
||||
fService.createSnapshot(toSnapshot);
|
||||
AVMNode node = fService.lookup(-1, "main:/");
|
||||
assertTrue(node instanceof PlainDirectoryNode);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user