diff --git a/modules/EasyAbp.EShop.Orders/test/EasyAbp.EShop.Orders.Domain.Tests/Orders/CancelPaymentEventHandler.cs b/modules/EasyAbp.EShop.Orders/test/EasyAbp.EShop.Orders.Domain.Tests/Orders/CancelPaymentEventHandler.cs index bc6788eb..500fab21 100644 --- a/modules/EasyAbp.EShop.Orders/test/EasyAbp.EShop.Orders.Domain.Tests/Orders/CancelPaymentEventHandler.cs +++ b/modules/EasyAbp.EShop.Orders/test/EasyAbp.EShop.Orders.Domain.Tests/Orders/CancelPaymentEventHandler.cs @@ -25,7 +25,7 @@ namespace EasyAbp.EShop.Orders.Orders _distributedEventBus = distributedEventBus; } - public async Task HandleEventAsync(CancelPaymentEto eventData) + public virtual async Task HandleEventAsync(CancelPaymentEto eventData) { await _distributedEventBus.PublishAsync(new EShopPaymentCanceledEto(new EShopPaymentEto {