1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-22 15:53:23 +00:00

Don't use TestCase for single test

(cherry picked from commit 541d3307e1466b0353dc4149f502a4b62b4de616)
This commit is contained in:
Mark McDowall 2024-01-12 15:07:56 -08:00 committed by Qstick
parent 49b404d8fa
commit ce063f83ba

View file

@ -41,7 +41,7 @@ public void should_get_version_info(string versionString)
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 @@ public void should_detect_server()
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>()