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.

Update test

support7bacf30ff3ab
diff --git a/src/Tests/Grand.Business.Common.Tests/Services/Logging/CustomerActivityServiceTests.cs b/src/Tests/Grand.Business.Common.Tests/Services/Logging/CustomerActivityServiceTests.cs
index f9688bb7f..f2fd96fb9 100644
--- a/src/Tests/Grand.Business.Common.Tests/Services/Logging/CustomerActivityServiceTests.cs
+++ b/src/Tests/Grand.Business.Common.Tests/Services/Logging/CustomerActivityServiceTests.cs
@@ -141,7 +141,7 @@ namespace Grand.Business.Common.Services.Logging.Tests
{
//Arrange
await InsertActivityType();
- await _customerActivityService.InsertActivity("test", "1", new Customer(), "", "");
+ await _repository.InsertAsync(new ActivityLog() { ActivityLogTypeId = "1", EntityKeyId = "1" });
//Act
var activityLogs = await _customerActivityService.GetStatsActivities();
//Assert