Added unit test

This commit is contained in:
Roxana Lucanu
2016-05-17 12:13:42 +03:00
parent cc5b9ee32d
commit d2b348b9d0
3 changed files with 122 additions and 0 deletions

View File

@@ -403,6 +403,7 @@ public class RecordableVersionServiceImpl extends Version2ServiceImpl
standardVersionProperties.get(
QName.createQName(Version2Model.NAMESPACE_URI,
Version2Model.PROP_VERSION_DESCRIPTION)));
// run as system as we can't be sure if the user has add aspect rights
authenticationUtil.runAsSystem(new RunAsWork<Void>()
{
@Override