Fixed broken tests
This commit is contained in:
parent
2e108620d6
commit
bcb13f93ff
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||||
updates.Should().OnlyContain(c => !string.IsNullOrWhiteSpace(c.FileName));
|
updates.Should().OnlyContain(c => !string.IsNullOrWhiteSpace(c.FileName));
|
||||||
updates.Should().OnlyContain(c => !string.IsNullOrWhiteSpace(c.Url));
|
updates.Should().OnlyContain(c => !string.IsNullOrWhiteSpace(c.Url));
|
||||||
updates.Should().OnlyContain(c => c.Version != null);
|
updates.Should().OnlyContain(c => c.Version != null);
|
||||||
updates.Should().OnlyContain(c => c.Version.Minor != 0);
|
updates.Should().OnlyContain(c => c.Version.Major == 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace NzbDrone.Core.Test.UpdateTests
|
||||||
private readonly UpdatePackage _updatePackage = new UpdatePackage
|
private readonly UpdatePackage _updatePackage = new UpdatePackage
|
||||||
{
|
{
|
||||||
FileName = "NzbDrone.vnext.0.8.1.385.zip",
|
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")
|
Version = new Version("0.8.1.385")
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue