mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-4106 (ALF-4103): AuditService enhancements
- Additional methods to get all available applications - Web Script retrieval of applications and enabled/disabled states - Tests git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -130,6 +130,12 @@ public class AuditBootstrapTest extends TestCase
|
||||
assertNotNull("No audit application ID for " + APPLICATION_TEST, appId);
|
||||
}
|
||||
|
||||
public void testGetApplications()
|
||||
{
|
||||
Map<String, AuditApplication> apps = auditModelRegistry.getAuditApplications();
|
||||
assertTrue("Application map not complete", apps.containsKey(APPLICATION_TEST));
|
||||
}
|
||||
|
||||
public void testGetApplicationByKey()
|
||||
{
|
||||
AuditApplication app = auditModelRegistry.getAuditApplicationByKey(KEY_TEST);
|
||||
|
Reference in New Issue
Block a user