Se implemento el metodo de copia de objetos

This commit is contained in:
jrojas
2025-01-08 10:16:48 +01:00
parent d93e1fdb6c
commit a7e596c5dd
123 changed files with 89 additions and 1166 deletions
@@ -28,7 +28,7 @@ public class AuditServiceFilterbyTextAndDateTests
var allRecords = await _service.AuditLogRepository.GetAllAuditRecordsAsync();
// Assert
Assert.That(allRecords.Count(), Is.EqualTo(2), "All records from the JSON file should be loaded.");
Assert.That(allRecords.Count(), Is.EqualTo(3), "All records from the JSON file should be loaded.");
}
[Test]
@@ -8,7 +8,7 @@
".NETCoreApp,Version=v8.0": {
"audit-test/1.0.0": {
"dependencies": {
"AuditLogs": "1.0.31",
"AuditLogs": "1.0.43",
"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.32.0"
"audit-logs": "1.0.45.0"
},
"runtime": {
"audit-test.dll": {}
@@ -944,7 +944,7 @@
}
}
},
"AuditLogs/1.0.31": {
"AuditLogs/1.0.43": {
"dependencies": {
"Microsoft.Extensions.Hosting": "8.0.0",
"MongoDB.Driver": "2.23.1",
@@ -953,16 +953,16 @@
},
"runtime": {
"audit-logs.dll": {
"assemblyVersion": "1.0.31",
"fileVersion": "1.0.32.0"
"assemblyVersion": "1.0.43",
"fileVersion": "1.0.45.0"
}
}
},
"audit-logs/1.0.32.0": {
"audit-logs/1.0.45.0": {
"runtime": {
"audit-logs.dll": {
"assemblyVersion": "1.0.32.0",
"fileVersion": "1.0.32.0"
"assemblyVersion": "1.0.45.0",
"fileVersion": "1.0.45.0"
}
}
}
@@ -1471,12 +1471,12 @@
"path": "zstdsharp.port/0.7.3",
"hashPath": "zstdsharp.port.0.7.3.nupkg.sha512"
},
"AuditLogs/1.0.31": {
"AuditLogs/1.0.43": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"audit-logs/1.0.32.0": {
"audit-logs/1.0.45.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+d5de8088d888dca210b4c0fdd0946ea5c25b1703")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d93e1fdb6cddb8354921c3adbe83604d091ee883")]
[assembly: System.Reflection.AssemblyProductAttribute("audit-test")]
[assembly: System.Reflection.AssemblyTitleAttribute("audit-test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
2ffdf8b1324e38c6a6c48f4e47ca1bfb97896e241783a2750d50145abc8d802d
c0df0b9358d9378e2a2536eb9a8ebdcd6e49545062cca0b25a7085d8d8820fac
@@ -5,7 +5,7 @@
},
"projects": {
"/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj": {
"version": "1.0.38",
"version": "1.0.49",
"restore": {
"projectUniqueName": "/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj",
"projectName": "AuditLogs",
@@ -1448,7 +1448,7 @@
"lib/net7.0/ZstdSharp.dll": {}
}
},
"AuditLogs/1.0.38": {
"AuditLogs/1.0.49": {
"type": "project",
"framework": ".NETCoreApp,Version=v8.0",
"dependencies": {
@@ -3799,7 +3799,7 @@
"zstdsharp.port.nuspec"
]
},
"AuditLogs/1.0.38": {
"AuditLogs/1.0.49": {
"type": "project",
"path": "../audit-logs/audit-logs.csproj",
"msbuildProject": "../audit-logs/audit-logs.csproj"
@@ -3807,7 +3807,7 @@
},
"projectFileDependencyGroups": {
"net8.0": [
"AuditLogs >= 1.0.38",
"AuditLogs >= 1.0.49",
"Microsoft.Extensions.Hosting >= 8.0.0",
"Microsoft.NET.Test.Sdk >= 17.8.0",
"Mongo2Go >= 2.2.16",
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "zGy2F+0caVI=",
"dgSpecHash": "wDLe4YXKvTM=",
"success": true,
"projectFilePath": "/home/julian/Documentos/repos/audit/audit-logs/audit-test/audit-test.csproj",
"expectedPackageFiles": [
@@ -75,7 +75,7 @@
"/home/julian/.nuget/packages/xunit.extensibility.core/2.9.2/xunit.extensibility.core.2.9.2.nupkg.sha512",
"/home/julian/.nuget/packages/xunit.extensibility.execution/2.9.2/xunit.extensibility.execution.2.9.2.nupkg.sha512",
"/home/julian/.nuget/packages/zstdsharp.port/0.7.3/zstdsharp.port.0.7.3.nupkg.sha512",
"/home/julian/.nuget/packages/auditlogs/1.0.38/auditlogs.1.0.38.nupkg.sha512"
"/home/julian/.nuget/packages/auditlogs/1.0.49/auditlogs.1.0.49.nupkg.sha512"
],
"logs": []
}
@@ -1 +1 @@
17361796756897114
17362649829176427
@@ -1 +1 @@
17362384017774786
17363275147780053