mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-19 21:46:43 -04:00
Fix tests for v5
This commit is contained in:
@@ -9,7 +9,7 @@ namespace NzbDrone.Common.Test.EnsureTest
|
|||||||
public class PathExtensionFixture : TestBase
|
public class PathExtensionFixture : TestBase
|
||||||
{
|
{
|
||||||
[TestCase(@"p:\TV Shows\file with, comma.mkv")]
|
[TestCase(@"p:\TV Shows\file with, comma.mkv")]
|
||||||
[TestCase(@"\\serer\share\file with, comma.mkv")]
|
[TestCase(@"\\server\share\file with, comma.mkv")]
|
||||||
public void EnsureWindowsPath(string path)
|
public void EnsureWindowsPath(string path)
|
||||||
{
|
{
|
||||||
WindowsOnly();
|
WindowsOnly();
|
||||||
|
|||||||
@@ -10,13 +10,13 @@ namespace NzbDrone.Common.Test.EnvironmentInfo
|
|||||||
[Test]
|
[Test]
|
||||||
public void should_return_version()
|
public void should_return_version()
|
||||||
{
|
{
|
||||||
BuildInfo.Version.Major.Should().BeOneOf(4, 10);
|
BuildInfo.Version.Major.Should().BeOneOf(5, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void should_get_branch()
|
public void should_get_branch()
|
||||||
{
|
{
|
||||||
BuildInfo.Branch.Should().NotBe("unknow");
|
BuildInfo.Branch.Should().NotBe("unknown");
|
||||||
BuildInfo.Branch.Should().NotBeNullOrWhiteSpace();
|
BuildInfo.Branch.Should().NotBeNullOrWhiteSpace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user