mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixed failing test
- Abstract base class required injection of more generally-used services Fixed 'property not set' error message to display the correct property name git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -165,13 +165,13 @@ public class EmailTemplatesContentPatch extends AbstractPatch
|
||||
// import the content
|
||||
try
|
||||
{
|
||||
authComponent.setCurrentUser(authComponent.getSystemUserName());
|
||||
authenticationComponent.setCurrentUser(authenticationComponent.getSystemUserName());
|
||||
|
||||
importContent();
|
||||
}
|
||||
finally
|
||||
{
|
||||
authComponent.clearCurrentSecurityContext();
|
||||
authenticationComponent.clearCurrentSecurityContext();
|
||||
}
|
||||
|
||||
// output a message to describe the result
|
||||
|
Reference in New Issue
Block a user