Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Fix test

KrzysztofPajak5514078fa6fb
diff --git a/src/Business/Grand.Business.Checkout/Utilities/GetShippingOptionRequest.cs b/src/Business/Grand.Business.Checkout/Utilities/GetShippingOptionRequest.cs
index 6317ed9f4..ddc8a6119 100644
--- a/src/Business/Grand.Business.Checkout/Utilities/GetShippingOptionRequest.cs
+++ b/src/Business/Grand.Business.Checkout/Utilities/GetShippingOptionRequest.cs
@@ -37,11 +37,7 @@ namespace Grand.Business.Checkout.Utilities
/// Gets or sets a shipping address (where we ship to)
/// </summary>
public Address ShippingAddress { get; set; }
-
- /// <summary>
- /// Shipped from warehouse
- /// </summary>
- public Warehouse WarehouseFrom { get; set; }
+
/// <summary>
/// Shipped from country
/// </summary>
diff --git a/src/Tests/Grand.Business.Checkout.Tests/Services/Shipping/ShippingServiceTests.cs b/src/Tests/Grand.Business.Checkout.Tests/Services/Shipping/ShippingServiceTests.cs
index b1595edf3..877f11daf 100644
--- a/src/Tests/Grand.Business.Checkout.Tests/Services/Shipping/ShippingServiceTests.cs
+++ b/src/Tests/Grand.Business.Checkout.Tests/Services/Shipping/ShippingServiceTests.cs
@@ -99,8 +99,7 @@ namespace Grand.Business.Checkout.Tests.Services.Shipping
var result = await _service.CreateShippingOptionRequests(customer, cart, shippingAddress, store);
- Assert.AreEqual(result.ShippingAddress, shippingAddress);
- Assert.AreEqual(result.WarehouseFrom, warehouse);
+ Assert.AreEqual(result.ShippingAddress, shippingAddress);
Assert.AreEqual(result.StoreId, "id");
Assert.AreEqual(result.Customer, customer);
}