mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-22 14:33:30 -07:00
Don't use TestCase for single test
(cherry picked from commit 541d3307e1466b0353dc4149f502a4b62b4de616)
This commit is contained in:
parent
e5e69f06c0
commit
8205e1a524
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue