Skip to content

Fixed tests related to Marten v8 migration #1065

Fixed tests related to Marten v8 migration

Fixed tests related to Marten v8 migration #1065

Triggered via pull request February 19, 2026 10:13
Status Failure
Total duration 3m 53s
Artifacts

build.dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
ECommerce.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. (Expected the enum to be HttpStatusCode.OK {value: 200}, but found HttpStatusCode.Forbidden {value: 403}.))))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Expected the enum to be HttpStatusCode.OK {value: 200}, but found HttpStatusCode.Forbidden {value: 403}.)))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Expected the enum to be HttpStatusCode.OK {value: 200}, but found HttpStatusCode.Forbidden {value: 403}.))) ------------ System.AggregateException : One or more errors occurred. (One or more errors occurred. (Expected the enum to be HttpStatusCode.OK {value: 200}, but found HttpStatusCode.Forbidden {value: 403}.)) ---------------- System.AggregateException : One or more errors occurred. (Expected the enum to be HttpStatusCode.OK {value: 200}, but found HttpStatusCode.Forbidden {value: 403}.) -------------------- Expected the enum to be HttpStatusCode.OK {value: 200}, but found HttpStatusCode.Forbidden {value: 403}.
EventsVersioning.Tests.SnapshotTesting.PackageSnapshotTests.my_assembly_has_no_public_api_changes
VerifyException : Directory: /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/EventsVersioning/EventsVersioning.Tests/SnapshotTesting NotEqual: - Received: PackageSnapshotTests.my_assembly_has_no_public_api_changes.received.txt Verified: PackageSnapshotTests.my_assembly_has_no_public_api_changes.verified.txt FileContent: NotEqual: Received: PackageSnapshotTests.my_assembly_has_no_public_api_changes.received.txt [assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v10.0", FrameworkDisplayName=".NET 10.0")] namespace ECommerce.V1 { public class PricedProductItem : System.IEquatable<ECommerce.V1.PricedProductItem> { public PricedProductItem(ECommerce.V1.ProductItem ProductItem, decimal UnitPrice) { } public ECommerce.V1.ProductItem ProductItem { get; init; } public decimal UnitPrice { get; init; } } public class ProductItem : System.IEquatable<ECommerce.V1.ProductItem> { public ProductItem(System.Guid ProductId, int Quantity) { } public System.Guid ProductId { get; init; } public int Quantity { get; init; } } public class ProductItemAddedToShoppingCart : System.IEquatable<ECommerce.V1.ProductItemAddedToShoppingCart> { public ProductItemAddedToShoppingCart(System.Guid ShoppingCartId, ECommerce.V1.PricedProductItem ProductItem) { } public ECommerce.V1.PricedProductItem ProductItem { get; init; } public System.Guid ShoppingCartId { get; init; } } public class ProductItemRemovedFromShoppingCart : System.IEquatable<ECommerce.V1.ProductItemRemovedFromShoppingCart> { public ProductItemRemovedFromShoppingCart(System.Guid ShoppingCartId, ECommerce.V1.PricedProductItem ProductItem) { } public ECommerce.V1.PricedProductItem ProductItem { get; init; } public System.Guid ShoppingCartId { get; init; } } public class ShoppingCartConfirmed : System.IEquatable<ECommerce.V1.ShoppingCartConfirmed> { public ShoppingCartConfirmed(System.Guid ShoppingCartId, System.DateTime ConfirmedAt) { } public System.DateTime ConfirmedAt { get; init; } public System.Guid ShoppingCartId { get; init; } } public class ShoppingCartOpened : System.IEquatable<ECommerce.V1.ShoppingCartOpened> { public ShoppingCartOpened(System.Guid ShoppingCartId, System.Guid ClientId) { } public System.Guid ClientId { get; init; } public System.Guid ShoppingCartId { get; init; } } public enum ShoppingCartStatus { Pending = 1, Confirmed = 2, Cancelled = 3, } } Verified: PackageSnapshotTests.my_assembly_has_no_public_api_changes.verified.txt [assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName=".NET 8.0")] namespace ECommerce.V1 { public class PricedProductItem : System.IEquatable<ECommerce.V1.PricedProductItem> { public PricedProductItem(ECommerce.V1.ProductItem ProductItem, decimal UnitPrice) { } public ECommerce.V1.ProductItem ProductItem { get; init; } public decimal UnitPrice { get; init; } } public class ProductItem : System.IEquatable<ECommerce.V1.ProductItem> { public ProductItem(System.Guid ProductId, int Quantity) { } public System.Guid ProductId { get; init; } public int Quantity { get; init; } } public class ProductItemAddedToShoppingCart : System.IEquatable<ECommerce.V1.ProductItemAddedToShoppingCart> { public ProductItemAddedToShoppingCart(System.Guid ShoppingCartId, ECommerce.V1.PricedProductItem ProductItem) { } public ECommerce.V1.PricedProductItem ProductItem { get; init; } public System.Guid ShoppingCartId { get; init; } } public class ProductItemRemovedFromShoppingCart : System.IEquatable<ECommerce.V1.ProductItemRemovedFromShoppingCart> { public ProductItemRemovedFromShoppingCart(System.Guid ShoppingCartId, ECommerce.V1.PricedProductItem ProductItem) { } public ECommerce.V1.PricedProductIt
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. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)) ------------ System.AggregateException : One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid) ---------------- JasperFx.Events.Projections.InvalidProjectionException : Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid
Payments.Api.Tests.Payments.RequestingPayment.RequestPaymentsTests.RequestPayment_ShouldReturn_CreatedStatus_With_PaymentId
JasperFx.Events.Projections.InvalidProjectionException : Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Payments.Payments.Payment id type is Guid
Orders.Api.Tests.Orders.InitializingOrder.InitializeOrderTests.InitializeOrder_ShouldReturn_CreatedStatus_With_OrderId
JasperFx.Events.Projections.InvalidProjectionException : Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Orders.Orders.Order id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Orders.Orders.GettingOrderStatus.OrderDetails id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Orders.Orders.GettingPending.PendingOrder id type is Guid
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. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)) ------------ System.AggregateException : One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid) ---------------- JasperFx.Events.Projections.InvalidProjectionException : Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid
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. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)) ------------ System.AggregateException : One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid) ---------------- JasperFx.Events.Projections.InvalidProjectionException : Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid
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. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)))) ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid))) -------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)) ------------ System.AggregateException : One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid) ---------------- JasperFx.Events.Projections.InvalidProjectionException : Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid
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. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)))))))) ---- 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. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid))))))) -------- 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. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid)))))) ------------ 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. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCartById.ShoppingCartDetails id type is Guid))))) ---------------- System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.ShoppingCart id type is Guid Id type mismatch. The stream identity type is string (or a strong typed identifier type that is convertible to string), but the aggregate document Carts.ShoppingCarts.GettingCarts.ShoppingCartShortInfo id type is Guid Id type mismatch. The stream identity ty