mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-18 21:55:12 -04: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