Skip to content

Fixed tests related to Marten v8 migration #1071

Fixed tests related to Marten v8 migration

Fixed tests related to Marten v8 migration #1071

Triggered via pull request February 19, 2026 13:49
Status Failure
Total duration 4m 34s
Artifacts

build.dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests.RecordCustomerResponseCommand_RecordsResponse
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"title":"DocumentIdTypeMismatchException","status":500,"detail":"Id/Document type mismatch. The id type for the included document type Helpdesk.Api.Incidents.GettingDetails.IncidentDetails is System.Guid, but string was used."}
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests.RecordAgentResponseCommand_RecordsResponse
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"title":"DocumentIdTypeMismatchException","status":500,"detail":"Id/Document type mismatch. The id type for the included document type Helpdesk.Api.Incidents.GettingDetails.IncidentDetails is System.Guid, but string was used."}
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests.PrioritiseCommand_ChangesIncidentPriority
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"title":"DocumentIdTypeMismatchException","status":500,"detail":"Id/Document type mismatch. The id type for the included document type Helpdesk.Api.Incidents.GettingDetails.IncidentDetails is System.Guid, but string was used."}
Helpdesk.Api.Tests.Incidents.LogIncidentsTests.LogIncident_ShouldSucceed: Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/LogIncidentsTests.cs#L18
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"title":"DocumentIdTypeMismatchException","status":500,"detail":"Id/Document type mismatch. The id type for the included document type Helpdesk.Api.Incidents.GettingDetails.IncidentDetails is System.Guid, but string was used."}
Helpdesk.Api.Tests.Incidents.CloseIncidentTests.ResolveCommand_Succeeds
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"title":"DocumentIdTypeMismatchException","status":500,"detail":"Id/Document type mismatch. The id type for the included document type Helpdesk.Api.Incidents.GettingDetails.IncidentDetails is System.Guid, but string was used."}
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests.CategoriseCommand_ChangesIncidentCategory
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"title":"DocumentIdTypeMismatchException","status":500,"detail":"Id/Document type mismatch. The id type for the included document type Helpdesk.Api.Incidents.GettingDetails.IncidentDetails is System.Guid, but string was used."}
Helpdesk.Api.Tests.Incidents.BatchResolutionTests.Batch_ShouldComplete: Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/BatchResolutionTests.cs#L64
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"title":"DocumentIdTypeMismatchException","status":500,"detail":"Id/Document type mismatch. The id type for the included document type Helpdesk.Api.Incidents.GettingDetails.IncidentDetails is System.Guid, but string was used."}
Helpdesk.Api.Tests.Incidents.BatchResolutionTests.InitiateBatch_ShouldSucceed: Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/BatchResolutionTests.cs#L19
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"title":"DocumentIdTypeMismatchException","status":500,"detail":"Id/Document type mismatch. The id type for the included document type Helpdesk.Api.Incidents.GettingDetails.IncidentDetails is System.Guid, but string was used."}
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests.AssignAgentCommand_ChangesIncidentCategory
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"System.InvalidOperationException","status":500,"detail":"No service for type 'Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider' has been registered.","exception":{"details":"System.InvalidOperationException: No service for type 'Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider' has been registered.\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)","headers":{"Host":["localhost"],"Content-Type":["application/json"],"Content-Length":["309"],"Accept":["application/json"]},"path":"/api/customers/019c762c-71c5-7c3d-8d5d-4817a07f3006/incidents/","endpoint":"HandlerType: Helpdesk.Api.Incidents.Logging.LogEndpoint, Method: System.ValueTuple`2[Wolverine.Http.CreationResponse,Wolverine.Marten.IStartStream] LogIncident(Helpdesk.Api.Incidents.Logging.LogIncident, System.DateTimeOffset)","routeValues":{"customerId":"019c762c-71c5-7c3d-8d5d-4817a07f3006"}},"traceId":"00-c6abaf06a056a353181c6e75882df19e-52e191328dfb2e1b-00"}
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests.ResolveCommand_Succeeds
Alba.ScenarioAssertionException : Expected status code 201, but was 500 Actual body text was: {"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"System.InvalidOperationException","status":500,"detail":"No service for type 'Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider' has been registered.","exception":{"details":"System.InvalidOperationException: No service for type 'Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider' has been registered.\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\n at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\n at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)","headers":{"Host":["localhost"],"Content-Type":["application/json"],"Content-Length":["277"],"Accept":["application/json"]},"path":"/api/customers/019c762c-6fc4-71e2-b099-73b4b583d7b1/incidents/","endpoint":"HandlerType: Helpdesk.Api.Incidents.Logging.LogEndpoint, Method: System.ValueTuple`2[Wolverine.Http.CreationResponse,Wolverine.Marten.IStartStream] LogIncident(Helpdesk.Api.Incidents.Logging.LogIncident, System.DateTimeOffset)","routeValues":{"customerId":"019c762c-6fc4-71e2-b099-73b4b583d7b1"}},"traceId":"00-6581f2e171ea3a7cd2fbc41bd5eaea4b-fdf60dcd44e2d42f-00"}