fixed some broken tests.

This commit is contained in:
kay.one 2013-02-24 11:39:31 -08:00
parent 554924a522
commit a98d792c0d
30 changed files with 60 additions and 60 deletions

View file

@ -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