We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c953ef commit 6bf0c98Copy full SHA for 6bf0c98
Tests/Shared/Utils/Utils.Cart.cs
@@ -22,6 +22,7 @@ public static CartResult CreateCartResult(int i = 1)
22
var totalPrice = cartItemResults.Sum(x => x.Product.PriceValueInCents * x.Quantity);
23
return new CartResult
24
{
25
+ TotalItemsFetched = i,
26
Items = CartItem.CreateCartItemResults(i),
27
TotalItems = i,
28
TotalPrice = totalPrice,
Tests/Shared/Utils/Utils.Product.cs
@@ -126,6 +126,8 @@ Ecommerce.Domain.ProductAggregate.Product product
126
127
return new ProductResult
128
129
+ AverageRating = 0,
130
+ SellerId = product.SellerId,
131
ProductId = product.Id.Value.ToString(),
132
ProductName = product.Name.Value,
133
Slug = product.Slug,
0 commit comments