mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Xbmc Refactored
This commit is contained in:
@@ -25,7 +25,7 @@ namespace NzbDrone.Core.Test.NotificationTests
|
||||
{
|
||||
_notifications = new List<INotification>();
|
||||
|
||||
_notifications.Add(new Xbmc(null, null));
|
||||
_notifications.Add(new Notifications.Xbmc.Xbmc(null, null));
|
||||
_notifications.Add(new PlexClient(null));
|
||||
_notifications.Add(new PlexServer(null));
|
||||
_notifications.Add(new Email(null));
|
||||
@@ -49,8 +49,8 @@ namespace NzbDrone.Core.Test.NotificationTests
|
||||
{
|
||||
Mocker.SetConstant<INotificationRepository>(Mocker.Resolve<NotificationRepository>());
|
||||
|
||||
Mocker.GetMock<IContainer>().Setup(s => s.Resolve(typeof (Xbmc)))
|
||||
.Returns(new Xbmc(null, null));
|
||||
Mocker.GetMock<IContainer>().Setup(s => s.Resolve(typeof(Notifications.Xbmc.Xbmc)))
|
||||
.Returns(new Notifications.Xbmc.Xbmc(null, null));
|
||||
|
||||
Mocker.GetMock<IContainer>().Setup(s => s.Resolve(typeof(PlexClient)))
|
||||
.Returns(new PlexClient(null));
|
||||
|
Reference in New Issue
Block a user