refactor: Code cleanup

pull/201/head
Robert Dailey 2 years ago
parent d66aa8ba44
commit 7be4189378

@ -6,11 +6,11 @@ public static class CfTestUtils
{
public static QualityProfileCustomFormatScoreMapping NewMapping(params FormatMappingEntry[] entries)
{
return new(false) {Mapping = entries.ToList()};
return new QualityProfileCustomFormatScoreMapping(false) {Mapping = entries.ToList()};
}
public static QualityProfileCustomFormatScoreMapping NewMappingWithReset(params FormatMappingEntry[] entries)
{
return new(true) {Mapping = entries.ToList()};
return new QualityProfileCustomFormatScoreMapping(true) {Mapping = entries.ToList()};
}
}

@ -26,7 +26,7 @@ public class LocalRepoSonarrGuideServiceTest
{
static ReleaseProfileData MakeMockObject(string term)
{
return new()
return new ReleaseProfileData
{
Name = "name",
TrashId = "123",

Loading…
Cancel
Save