Re-enable unit tests in appveyor (#159)

* Re-enable unit tests in appveyor

* Delete SingleEpisodeParserFixture.cs

* fixup! Oops

* Fix multiple tests

* Fixed Language Tests

* Couple More Simple Test Fixes

* Last Round of Test Fixes

* More test Cleanup

* Fix 3 Newznab Tests
This commit is contained in:
Qstick
2017-12-21 23:00:16 -05:00
committed by GitHub
parent 7820f43b2b
commit 882e8a575e
21 changed files with 114 additions and 289 deletions
@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using FluentAssertions;
using NUnit.Framework;
@@ -202,7 +202,7 @@ namespace NzbDrone.Common.Test.DiskTests
[Test]
public void GetParentFolder_should_remove_trailing_slash_before_getting_parent_folder()
{
var path = @"C:\Test\TV\".AsOsAgnostic();
var path = @"C:\Test\Music\".AsOsAgnostic();
var parent = @"C:\Test".AsOsAgnostic();
Subject.GetParentFolder(path).Should().Be(parent);
@@ -1,4 +1,4 @@
using FluentAssertions;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Common.EnvironmentInfo;
@@ -10,7 +10,7 @@ namespace NzbDrone.Common.Test.EnvironmentInfo
[Test]
public void should_return_version()
{
BuildInfo.Version.Major.Should().BeOneOf(2, 10);
BuildInfo.Version.Major.Should().BeOneOf(0, 10);
}
[Test]
@@ -20,4 +20,4 @@ namespace NzbDrone.Common.Test.EnvironmentInfo
BuildInfo.Branch.Should().NotBeNullOrWhiteSpace();
}
}
}
}
@@ -98,7 +98,7 @@ namespace NzbDrone.Common.Test
[Test]
public void should_return_true_when_folder_is_parent_of_another_folder()
{
var path = @"C:\Test\TV".AsOsAgnostic();
var path = @"C:\Test\Music".AsOsAgnostic();
_parent.IsParentPath(path).Should().BeTrue();
}