You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2023/05/01 11:08:58 UTC
[syncope] branch master updated: Align with inspektr updates
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new fe2b91288e Align with inspektr updates
fe2b91288e is described below
commit fe2b91288ee883ef6a64a076fb7aff4885d420ee
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon May 1 13:08:49 2023 +0200
Align with inspektr updates
---
.../org/apache/syncope/wa/starter/audit/WAAuditTrailManagerTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/wa/starter/src/test/java/org/apache/syncope/wa/starter/audit/WAAuditTrailManagerTest.java b/wa/starter/src/test/java/org/apache/syncope/wa/starter/audit/WAAuditTrailManagerTest.java
index 7e620b9a3d..5d6732643f 100644
--- a/wa/starter/src/test/java/org/apache/syncope/wa/starter/audit/WAAuditTrailManagerTest.java
+++ b/wa/starter/src/test/java/org/apache/syncope/wa/starter/audit/WAAuditTrailManagerTest.java
@@ -24,6 +24,7 @@ import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.util.Date;
+import java.util.Map;
import org.apache.syncope.client.lib.SyncopeClient;
import org.apache.syncope.common.lib.audit.AuditEntry;
import org.apache.syncope.common.rest.api.service.AuditService;
@@ -50,7 +51,7 @@ public class WAAuditTrailManagerTest extends AbstractTest {
@Test
public void saveAuditRecord() {
AuditActionContext audit = new AuditActionContext("principal", "resourceOperatedUpon", "actionPerformed",
- "applicationCode", new Date(), "clientIpAddress", "serverIpAddress", "userAgent");
+ "applicationCode", new Date(), "clientIpAddress", "serverIpAddress", "userAgent", Map.of());
WAAuditTrailManager auditTrailManager = new WAAuditTrailManager(getWaRestClient());
auditTrailManager.saveAuditRecord(audit);
verify(LOGGER_SERVICE).create(any(AuditEntry.class));