mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user