mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
fixed some broken tests.
This commit is contained in:
parent
554924a522
commit
a98d792c0d
30 changed files with 60 additions and 60 deletions
|
@ -101,9 +101,9 @@ namespace NzbDrone.Test.Common
|
|||
return Path.Combine(Directory.GetCurrentDirectory(), "Files", fileName);
|
||||
}
|
||||
|
||||
protected void VerifyEventPublished<TEvent>(TEvent message) where TEvent : IEvent
|
||||
protected void VerifyEventPublished<TEvent>() where TEvent : IEvent
|
||||
{
|
||||
Mocker.GetMock<IEventAggregator>().Verify(c => c.Publish(message), Times.Once());
|
||||
Mocker.GetMock<IEventAggregator>().Verify(c => c.Publish(It.IsAny<TEvent>()), Times.Once());
|
||||
}
|
||||
|
||||
protected void VerifyEventNotPublished<TEvent>() where TEvent : IEvent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue