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);
@@ -8,7 +8,7 @@
".NETCoreApp,Version=v8.0": {
"audit-test/1.0.0": {
"dependencies": {
"AuditLogs": "1.0.43",
"AuditLogs": "1.0.49",
"Microsoft.Extensions.Hosting": "8.0.0",
"Microsoft.NET.Test.Sdk": "17.8.0",
"Mongo2Go": "2.2.16",
@@ -18,7 +18,7 @@
"NUnit3TestAdapter": "4.5.0",
"coverlet.collector": "6.0.0",
"xunit": "2.9.2",
"audit-logs": "1.0.45.0"
"audit-logs": "1.0.49.0"
},
"runtime": {
"audit-test.dll": {}
@@ -944,7 +944,7 @@
}
}
},
"AuditLogs/1.0.43": {
"AuditLogs/1.0.49": {
"dependencies": {
"Microsoft.Extensions.Hosting": "8.0.0",
"MongoDB.Driver": "2.23.1",
@@ -953,16 +953,16 @@
},
"runtime": {
"audit-logs.dll": {
"assemblyVersion": "1.0.43",
"fileVersion": "1.0.45.0"
"assemblyVersion": "1.0.49",
"fileVersion": "1.0.49.0"
}
}
},
"audit-logs/1.0.45.0": {
"audit-logs/1.0.49.0": {
"runtime": {
"audit-logs.dll": {
"assemblyVersion": "1.0.45.0",
"fileVersion": "1.0.45.0"
"assemblyVersion": "1.0.49.0",
"fileVersion": "1.0.49.0"
}
}
}
@@ -1471,12 +1471,12 @@
"path": "zstdsharp.port/0.7.3",
"hashPath": "zstdsharp.port.0.7.3.nupkg.sha512"
},
"AuditLogs/1.0.43": {
"AuditLogs/1.0.49": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"audit-logs/1.0.45.0": {
"audit-logs/1.0.49.0": {
"type": "reference",
"serviceable": false,
"sha512": ""
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("audit-test")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d93e1fdb6cddb8354921c3adbe83604d091ee883")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a7e596c5ddba81514969e5adf2681555761228a4")]
[assembly: System.Reflection.AssemblyProductAttribute("audit-test")]
[assembly: System.Reflection.AssemblyTitleAttribute("audit-test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
c0df0b9358d9378e2a2536eb9a8ebdcd6e49545062cca0b25a7085d8d8820fac
e69fd958d9878523ed169643a83d12038c1d4780c8f5c7ad48fbf8ff02138b52
@@ -1 +1 @@
17362649829176427
17363275147780053