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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Fix test
KrzysztofPajak5514078fa6fb
diff --git a/src/Business/Grand.Business.Checkout/Utilities/GetShippingOptionRequest.cs b/src/Business/Grand.Business.Checkout/Utilities/GetShippingOptionRequest.csindex 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.csindex 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.Shippingvar 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);}