Don't use TestCase for single test
This commit is contained in:
parent
ad60352bae
commit
541d3307e1
|
@ -41,7 +41,7 @@ namespace NzbDrone.Mono.Test.EnvironmentInfo.VersionAdapters
|
||||||
versionName.FullName.Should().Be("macOS " + versionString);
|
versionName.FullName.Should().Be("macOS " + versionString);
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase]
|
[Test]
|
||||||
public void should_detect_server()
|
public void should_detect_server()
|
||||||
{
|
{
|
||||||
var fileContent = File.ReadAllText(GetTestPath("Files/macOS/SystemVersion.plist"));
|
var fileContent = File.ReadAllText(GetTestPath("Files/macOS/SystemVersion.plist"));
|
||||||
|
@ -63,7 +63,7 @@ namespace NzbDrone.Mono.Test.EnvironmentInfo.VersionAdapters
|
||||||
versionName.Name.Should().Be("macOS Server");
|
versionName.Name.Should().Be("macOS Server");
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase]
|
[Test]
|
||||||
public void should_return_null_if_folder_doesnt_exist()
|
public void should_return_null_if_folder_doesnt_exist()
|
||||||
{
|
{
|
||||||
Mocker.GetMock<IDiskProvider>()
|
Mocker.GetMock<IDiskProvider>()
|
||||||
|
|
Loading…
Reference in New Issue