mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
|
|
|
|
using System;
|
|
using System.Linq;
|
|
using FizzWare.NBuilder;
|
|
using FluentAssertions;
|
|
using Moq;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Common;
|
|
using NzbDrone.Core.Configuration;
|
|
using NzbDrone.Core.Notifications.Xbmc;
|
|
using NzbDrone.Core.Tv;
|
|
using NzbDrone.Core.Model.Xbmc;
|
|
using NzbDrone.Core.Providers;
|
|
using NzbDrone.Core.Test.Framework;
|
|
using NzbDrone.Test.Common.AutoMoq;
|
|
|
|
namespace NzbDrone.Core.Test.NotificationTests.Xbmc
|
|
{
|
|
[TestFixture]
|
|
public class XbmcProviderTest : CoreTest
|
|
{
|
|
private XbmcSettings _settings;
|
|
|
|
[SetUp]
|
|
public void Setup()
|
|
{
|
|
_settings = new XbmcSettings
|
|
{
|
|
Host = "localhost",
|
|
Port = 8080,
|
|
Username = "xbmc",
|
|
Password = "xbmc",
|
|
AlwaysUpdate = false,
|
|
CleanLibrary = false,
|
|
UpdateLibrary = true
|
|
};
|
|
}
|
|
}
|
|
} |