diff --git a/tests/Ardalis.SharedKernel.UnitTests/MediatRDomainEventDispatcherTests/DispatchAndClearEvents.cs b/tests/Ardalis.SharedKernel.UnitTests/MediatRDomainEventDispatcherTests/DispatchAndClearEvents.cs index 8972409..35fbf1c 100644 --- a/tests/Ardalis.SharedKernel.UnitTests/MediatRDomainEventDispatcherTests/DispatchAndClearEvents.cs +++ b/tests/Ardalis.SharedKernel.UnitTests/MediatRDomainEventDispatcherTests/DispatchAndClearEvents.cs @@ -30,7 +30,7 @@ public async void CallsPublishAndClearDomainEvents() await domainEventDispatcher.DispatchAndClearEvents(new List { entity }); // Assert - DomainEventBase mediatorMock.Verify(m => m.Publish(It.IsAny(), It.IsAny()), Times.Once); + mediatorMock.Verify(m => m.Publish(It.IsAny(), It.IsAny()), Times.Once); entity.DomainEvents.Should().BeEmpty(); } }