1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-10 04:52:42 +01:00
Radarr/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs

23 lines
576 B
C#
Raw Normal View History

using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Update;
2013-04-16 02:08:06 +02:00
using System.Linq;
namespace NzbDrone.Core.Test.UpdateTests
{
public class UpdatePackageProviderFixture : CoreTest<UpdatePackageProvider>
{
2013-04-16 02:08:06 +02:00
[Test]
public void should_get_list_of_available_updates()
2013-04-16 02:08:06 +02:00
{
UseRealHttp();
Mocker.GetMock<IConfigFileProvider>().SetupGet(c => c.Branch).Returns("master");
2013-04-16 02:08:06 +02:00
2013-08-24 04:21:12 +02:00
Subject.GetLatestUpdate().Should().BeNull();
2013-04-16 02:08:06 +02:00
}
}
}