|
|
|
@ -24,11 +24,9 @@ namespace NzbDrone.Core.Test.UpdateTests
|
|
|
|
|
Subject.GetLatestUpdate("nightly", new Version(10, 0)).Should().BeNull();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Ignore("Pending linux-x86 merge")]
|
|
|
|
|
[Test]
|
|
|
|
|
public void finds_update_when_version_lower()
|
|
|
|
|
{
|
|
|
|
|
NotBsd();
|
|
|
|
|
UseRealHttp();
|
|
|
|
|
Subject.GetLatestUpdate("nightly", new Version(0, 1)).Should().NotBeNull();
|
|
|
|
|
}
|
|
|
|
@ -41,12 +39,9 @@ namespace NzbDrone.Core.Test.UpdateTests
|
|
|
|
|
Subject.GetLatestUpdate("invalid_branch", new Version(0, 2)).Should().NotBeNull();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Ignore("Pending linux-x86 merge")]
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_get_recent_updates()
|
|
|
|
|
{
|
|
|
|
|
NotBsd();
|
|
|
|
|
|
|
|
|
|
const string branch = "nightly";
|
|
|
|
|
UseRealHttp();
|
|
|
|
|
var recent = Subject.GetRecentUpdates(branch, new Version(0, 1));
|
|
|
|
|