inicio de correcciones adt02

This commit is contained in:
jrojas
2025-03-05 21:48:39 +01:00
parent a7e596c5dd
commit 2cb993c58c
32 changed files with 143 additions and 19 deletions
@@ -21,7 +21,8 @@ public class AuditServiceIntegrationTests
{
IntegrationDb.Database.DropCollectionAsync("audit_records");
//_repository = new AuditRecordRepository(IntegrationDb.Database);
_service = new AuditService(IntegrationDb.Database);
//_service = new AuditService(IntegrationDb.Database);
_service = new AuditService(IntegrationDbReal.Database);
}
[Test]
@@ -118,6 +119,7 @@ public class AuditServiceIntegrationTests
auditLogData.UserIpAddress = "127.0.0.1";
// Act - Llamar a DetectChangesAsync para que identifique cambios
//await _service.CreateAuditLogAsync(auditLogData);
await _service.CreateAuditLogAsync(auditLogData);