Skip to content

Fixed tests related to Marten v8 migration #1069

Fixed tests related to Marten v8 migration

Fixed tests related to Marten v8 migration #1069

Triggered via pull request February 19, 2026 11:27
Status Failure
Total duration 4m 3s
Artifacts

build.dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
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":["266"],"Accept":["application/json"]},"path":"/api/customers/019c75aa-3c5e-73c7-87f0-9c5042ea3b49/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":"019c75aa-3c5e-73c7-87f0-9c5042ea3b49"}},"traceId":"00-008eb764c17795fdabd96fceb13cc14c-3ab41e9370acdf30-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":["270"],"Accept":["application/json"]},"path":"/api/customers/019c75aa-39da-7db7-bfc4-23e2b8d327cf/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":"019c75aa-39da-7db7-bfc4-23e2b8d327cf"}},"traceId":"00-138e30124f356ec3ccb078c12a6d9644-aa396575e0e32144-00"}
Carts.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests.Post_Should_AddProductItem_To_ShoppingCart
System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)) ------------ System.AggregateException : One or more errors occurred. (No bootstrap servers configured.) ---------------- System.InvalidOperationException : No bootstrap servers configured.
Payments.Api.Tests.Payments.RequestingPayment.RequestPaymentsTests.RequestPayment_ShouldReturn_CreatedStatus_With_PaymentId
System.InvalidOperationException : No bootstrap servers configured.
Carts.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests.Delete_Should_Return_OK_And_Cancel_Shopping_Cart
System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)) ------------ System.AggregateException : One or more errors occurred. (No bootstrap servers configured.) ---------------- System.InvalidOperationException : No bootstrap servers configured.
Orders.Api.Tests.Orders.InitializingOrder.InitializeOrderTests.InitializeOrder_ShouldReturn_CreatedStatus_With_OrderId
System.InvalidOperationException : No bootstrap servers configured.
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests.Put_Should_Return_OK_And_Confirm_Shopping_Cart
System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)) ------------ System.AggregateException : One or more errors occurred. (No bootstrap servers configured.) ---------------- System.InvalidOperationException : No bootstrap servers configured.
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests.Post_ShouldReturn_CreatedStatus_With_CartId
System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)) ------------ System.AggregateException : One or more errors occurred. (No bootstrap servers configured.) ---------------- System.InvalidOperationException : No bootstrap servers configured.
Carts.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests.Delete_Should_Return_OK_And_Cancel_Shopping_Cart
System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)))))))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.))))))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)))))) ------------ System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.))))) ---------------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)))) -------------------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.))) ------------------------ System.AggregateException : One or more errors occurred. (One or more errors occurred. (No bootstrap servers configured.)) ---------------------------- System.AggregateException : One or more errors occurred. (No bootstrap servers configured.) -------------------------------- System.InvalidOperationException : No bootstrap servers configured.