1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-31 20:26:16 +00:00
Sonarr/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs
2013-08-23 21:45:01 -07:00

22 lines
576 B
C#

using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Update;
using System.Linq;
namespace NzbDrone.Core.Test.UpdateTests
{
public class UpdatePackageProviderFixture : CoreTest<UpdatePackageProvider>
{
[Test]
public void should_get_list_of_available_updates()
{
UseRealHttp();
Mocker.GetMock<IConfigFileProvider>().SetupGet(c => c.Branch).Returns("master");
Subject.GetLatestUpdate().Should().BeNull();
}
}
}