Se actualizo la biblioteca para entregar los resultados ordenados

This commit is contained in:
jrojas
2025-01-03 19:58:17 +01:00
parent 5ba0097bc0
commit d5de8088d8
41 changed files with 55 additions and 58 deletions
@@ -28,7 +28,7 @@ public class AuditServiceFilterbyTextAndDateTests
var allRecords = await _service.AuditLogRepository.GetAllAuditRecordsAsync();
// Assert
Assert.That(allRecords.Count(), Is.EqualTo(7), "All records from the JSON file should be loaded.");
Assert.That(allRecords.Count(), Is.EqualTo(13), "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.20",
"AuditLogs": "1.0.22",
"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.21.0"
"audit-logs": "1.0.22.0"
},
"runtime": {
"audit-test.dll": {}
@@ -944,7 +944,7 @@
}
}
},
"AuditLogs/1.0.20": {
"AuditLogs/1.0.22": {
"dependencies": {
"Microsoft.Extensions.Hosting": "8.0.0",
"MongoDB.Driver": "2.23.1",
@@ -953,16 +953,16 @@
},
"runtime": {
"audit-logs.dll": {
"assemblyVersion": "1.0.20",
"fileVersion": "1.0.21.0"
"assemblyVersion": "1.0.22",
"fileVersion": "1.0.22.0"
}
}
},
"audit-logs/1.0.21.0": {
"audit-logs/1.0.22.0": {
"runtime": {
"audit-logs.dll": {
"assemblyVersion": "1.0.21.0",
"fileVersion": "1.0.21.0"
"assemblyVersion": "1.0.22.0",
"fileVersion": "1.0.22.0"
}
}
}
@@ -1471,12 +1471,12 @@
"path": "zstdsharp.port/0.7.3",
"hashPath": "zstdsharp.port.0.7.3.nupkg.sha512"
},
"AuditLogs/1.0.20": {
"AuditLogs/1.0.22": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"audit-logs/1.0.21.0": {
"audit-logs/1.0.22.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+bc84c1b5a7fcfaf1fe295f7a9b17884dc7a0c5f4")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5ba0097bc0659efcde1b1fd780635d1420e2fd7d")]
[assembly: System.Reflection.AssemblyProductAttribute("audit-test")]
[assembly: System.Reflection.AssemblyTitleAttribute("audit-test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
65c5a86e5aae554493732612ef6e118c5f5f96269b30d47e8b9b44d28cff3612
c1d0c091b3c1309484e1f582fb33efca1d0a857a5ffc7ca00a694b8713130030
@@ -5,7 +5,7 @@
},
"projects": {
"/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj": {
"version": "1.0.20",
"version": "1.0.22",
"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.20": {
"AuditLogs/1.0.22": {
"type": "project",
"framework": ".NETCoreApp,Version=v8.0",
"dependencies": {
@@ -3799,7 +3799,7 @@
"zstdsharp.port.nuspec"
]
},
"AuditLogs/1.0.20": {
"AuditLogs/1.0.22": {
"type": "project",
"path": "../audit-logs/audit-logs.csproj",
"msbuildProject": "../audit-logs/audit-logs.csproj"
@@ -3807,7 +3807,7 @@
},
"projectFileDependencyGroups": {
"net8.0": [
"AuditLogs >= 1.0.20",
"AuditLogs >= 1.0.22",
"Microsoft.Extensions.Hosting >= 8.0.0",
"Microsoft.NET.Test.Sdk >= 17.8.0",
"Mongo2Go >= 2.2.16",
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "fe+l7mwhslo=",
"dgSpecHash": "h1xEPiLr3po=",
"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.20/auditlogs.1.0.20.nupkg.sha512"
"/home/julian/.nuget/packages/auditlogs/1.0.22/auditlogs.1.0.22.nupkg.sha512"
],
"logs": []
}
@@ -1 +1 @@
17328160760563428
17358944606935849
@@ -1 +1 @@
17358944606935849
17359135886838652