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
support756730b4b462
diff --git a/src/Tests/Grand.Business.Common.Tests/Services/Logging/CustomerActivityServiceTests.cs b/src/Tests/Grand.Business.Common.Tests/Services/Logging/CustomerActivityServiceTests.csindex dea2a50b3..f9688bb7f 100644--- a/src/Tests/Grand.Business.Common.Tests/Services/Logging/CustomerActivityServiceTests.cs+++ b/src/Tests/Grand.Business.Common.Tests/Services/Logging/CustomerActivityServiceTests.cs@@ -242,8 +242,7 @@ namespace Grand.Business.Common.Services.Logging.Testspublic async Task ClearAllActivitiesTest(){//Arrange- await InsertActivityType();- await _customerActivityService.InsertActivity("test", "1", new Customer(), "", "");+ await _repository.InsertAsync(new ActivityLog() { ActivityLogTypeId = "1", EntityKeyId = "1" });//Actawait _customerActivityService.ClearAllActivities();//Assert