mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
More succint audit example for MNT-16748
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130648 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -262,7 +262,7 @@ public class AuditMethodInterceptorTest extends TestCase
|
||||
rowCount.setValue(0);
|
||||
auditComponent.auditQuery(callback, params, Integer.MAX_VALUE);
|
||||
|
||||
assertEquals("Incorrect number of audit entries", 2, rowCount.intValue());
|
||||
assertEquals("Incorrect number of audit entries", 1, rowCount.intValue());
|
||||
assertTrue(
|
||||
"The requested language should be in the audit entry.",
|
||||
sb.toString().contains(SearchService.LANGUAGE_XPATH));
|
||||
|
Reference in New Issue
Block a user