1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-28 02:27:13 +00:00

Fixed broken tests

This commit is contained in:
Mark McDowall 2013-08-09 22:10:09 -07:00
parent 2e108620d6
commit bcb13f93ff
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ public void should_get_list_of_available_updates()
updates.Should().OnlyContain(c => !string.IsNullOrWhiteSpace(c.FileName));
updates.Should().OnlyContain(c => !string.IsNullOrWhiteSpace(c.Url));
updates.Should().OnlyContain(c => c.Version != null);
updates.Should().OnlyContain(c => c.Version.Minor != 0);
updates.Should().OnlyContain(c => c.Version.Major == 2);
}
}
}

View file

@ -23,7 +23,7 @@ public class UpdateServiceFixture : CoreTest<InstallUpdateService>
private readonly UpdatePackage _updatePackage = new UpdatePackage
{
FileName = "NzbDrone.vnext.0.8.1.385.zip",
Url = "http://update.nzbdrone.com/vnext/NzbDrone.vnext.0.8.1.385.zip",
Url = "http://update.nzbdrone.com/v10/master/NzbDrone.master.2.0.0.0.zip",
Version = new Version("0.8.1.385")
};