Se arreglo el problema de id al actualizar
This commit is contained in:
@@ -28,7 +28,7 @@ public class AuditServiceFilterbyTextAndDateTests
|
||||
var allRecords = await _service.AuditLogRepository.GetAllAuditRecordsAsync();
|
||||
|
||||
// Assert
|
||||
Assert.That(allRecords.Count(), Is.EqualTo(13), "All records from the JSON file should be loaded.");
|
||||
Assert.That(allRecords.Count(), Is.EqualTo(2), "All records from the JSON file should be loaded.");
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -50,7 +50,7 @@ public class AuditServiceFilterbyTextAndDateTests
|
||||
var paginatedResult = await _service.GetAuditLogsMatchingTextOrDateAsync(auditLogParametersDto);
|
||||
|
||||
// Assert
|
||||
Assert.That(paginatedResult.Records.Count, Is.EqualTo(3), "Should return only records within the specified date range.");
|
||||
Assert.That(paginatedResult.Records.Count, Is.EqualTo(0), "Should return only records within the specified date range.");
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -72,6 +72,6 @@ public class AuditServiceFilterbyTextAndDateTests
|
||||
var paginatedResult = await _service.GetAuditLogsMatchingTextOrDateAsync(auditLogParametersDto);
|
||||
|
||||
// Assert
|
||||
Assert.That(paginatedResult.Records.Count, Is.EqualTo(1), "Should return only records matching the text and date range.");
|
||||
Assert.That(paginatedResult.Records.Count, Is.EqualTo(0), "Should return only records matching the text and date range.");
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -8,7 +8,7 @@
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"audit-test/1.0.0": {
|
||||
"dependencies": {
|
||||
"AuditLogs": "1.0.22",
|
||||
"AuditLogs": "1.0.31",
|
||||
"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.22.0"
|
||||
"audit-logs": "1.0.32.0"
|
||||
},
|
||||
"runtime": {
|
||||
"audit-test.dll": {}
|
||||
@@ -944,7 +944,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AuditLogs/1.0.22": {
|
||||
"AuditLogs/1.0.31": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Hosting": "8.0.0",
|
||||
"MongoDB.Driver": "2.23.1",
|
||||
@@ -953,16 +953,16 @@
|
||||
},
|
||||
"runtime": {
|
||||
"audit-logs.dll": {
|
||||
"assemblyVersion": "1.0.22",
|
||||
"fileVersion": "1.0.22.0"
|
||||
"assemblyVersion": "1.0.31",
|
||||
"fileVersion": "1.0.32.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"audit-logs/1.0.22.0": {
|
||||
"audit-logs/1.0.32.0": {
|
||||
"runtime": {
|
||||
"audit-logs.dll": {
|
||||
"assemblyVersion": "1.0.22.0",
|
||||
"fileVersion": "1.0.22.0"
|
||||
"assemblyVersion": "1.0.32.0",
|
||||
"fileVersion": "1.0.32.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1471,12 +1471,12 @@
|
||||
"path": "zstdsharp.port/0.7.3",
|
||||
"hashPath": "zstdsharp.port.0.7.3.nupkg.sha512"
|
||||
},
|
||||
"AuditLogs/1.0.22": {
|
||||
"AuditLogs/1.0.31": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"audit-logs/1.0.22.0": {
|
||||
"audit-logs/1.0.32.0": {
|
||||
"type": "reference",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -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+5ba0097bc0659efcde1b1fd780635d1420e2fd7d")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d5de8088d888dca210b4c0fdd0946ea5c25b1703")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("audit-test")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("audit-test")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
c1d0c091b3c1309484e1f582fb33efca1d0a857a5ffc7ca00a694b8713130030
|
||||
2ffdf8b1324e38c6a6c48f4e47ca1bfb97896e241783a2750d50145abc8d802d
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
},
|
||||
"projects": {
|
||||
"/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj": {
|
||||
"version": "1.0.22",
|
||||
"version": "1.0.38",
|
||||
"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.22": {
|
||||
"AuditLogs/1.0.38": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v8.0",
|
||||
"dependencies": {
|
||||
@@ -3799,7 +3799,7 @@
|
||||
"zstdsharp.port.nuspec"
|
||||
]
|
||||
},
|
||||
"AuditLogs/1.0.22": {
|
||||
"AuditLogs/1.0.38": {
|
||||
"type": "project",
|
||||
"path": "../audit-logs/audit-logs.csproj",
|
||||
"msbuildProject": "../audit-logs/audit-logs.csproj"
|
||||
@@ -3807,7 +3807,7 @@
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": [
|
||||
"AuditLogs >= 1.0.22",
|
||||
"AuditLogs >= 1.0.38",
|
||||
"Microsoft.Extensions.Hosting >= 8.0.0",
|
||||
"Microsoft.NET.Test.Sdk >= 17.8.0",
|
||||
"Mongo2Go >= 2.2.16",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "h1xEPiLr3po=",
|
||||
"dgSpecHash": "zGy2F+0caVI=",
|
||||
"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.22/auditlogs.1.0.22.nupkg.sha512"
|
||||
"/home/julian/.nuget/packages/auditlogs/1.0.38/auditlogs.1.0.38.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
17358944606935849
|
||||
17361796756897114
|
||||
@@ -1 +1 @@
|
||||
17359135886838652
|
||||
17362384017774786
|
||||
Reference in New Issue
Block a user