1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-19 17:32:38 +01: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 Bogdan
parent 1ae98d618c
commit cc03651af5

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>()