1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

New: .NET 5 support for FreeBSD 11+

This commit is contained in:
ta264
2021-02-09 21:09:13 +00:00
parent 0fcad533eb
commit 108609d064
16 changed files with 222 additions and 41 deletions
@@ -25,11 +25,11 @@ namespace NzbDrone.Core.Test.UpdateTests
}
[Test]
[Platform(Exclude = "NetCore")]
public void finds_update_when_version_lower()
{
NotBsd();
UseRealHttp();
Subject.GetLatestUpdate("develop", new Version(0, 2)).Should().NotBeNull();
Subject.GetLatestUpdate("develop", new Version(3, 0)).Should().NotBeNull();
}
[Test]
@@ -43,9 +43,11 @@ namespace NzbDrone.Core.Test.UpdateTests
[Test]
public void should_get_recent_updates()
{
NotBsd();
const string branch = "nightly";
UseRealHttp();
var recent = Subject.GetRecentUpdates(branch, new Version(2, 0), null);
var recent = Subject.GetRecentUpdates(branch, new Version(3, 0), null);
var recentWithChanges = recent.Where(c => c.Changes != null);
recent.Should().NotBeEmpty();