mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix unit test / build - newly created model is not active by default, hence needs to be explicitly activated.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6753 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -224,6 +224,9 @@ public class DictionaryRepositoryBootstrapTest extends BaseAlfrescoSpringTest
|
||||
propertyName);
|
||||
contentWriter1.putContent(modelOne);
|
||||
|
||||
// activate the model
|
||||
nodeService.setProperty(model, ContentModel.PROP_MODEL_ACTIVE, new Boolean(true));
|
||||
|
||||
return model;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user