diff --git a/src/Recyclarr.TrashLib.Tests/Config/Listers/ConfigTemplateListerTest.cs b/src/Recyclarr.TrashLib.Tests/Config/Listers/ConfigTemplateListerTest.cs index 36ddebad..8ea46fb3 100644 --- a/src/Recyclarr.TrashLib.Tests/Config/Listers/ConfigTemplateListerTest.cs +++ b/src/Recyclarr.TrashLib.Tests/Config/Listers/ConfigTemplateListerTest.cs @@ -12,7 +12,7 @@ namespace Recyclarr.TrashLib.Tests.Config.Listers; public class ConfigTemplateListerTest : IntegrationFixture { [Test, AutoMockData] - public void Hidden_templates_are_not_rendered( + public async Task Hidden_templates_are_not_rendered( IFileInfo stubFile, [Frozen(Matching.ImplementedInterfaces)] TestConsole console, [Frozen] IConfigTemplateGuideService guideService, @@ -26,7 +26,7 @@ public class ConfigTemplateListerTest : IntegrationFixture new TemplatePath(SupportedServices.Sonarr, "s2", stubFile, true) }); - sut.List(); + await sut.List(); console.Output.Should().NotContain("s2"); } diff --git a/src/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigurationFinderTest.cs b/src/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigurationFinderTest.cs index b0505f0c..0a734730 100644 --- a/src/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigurationFinderTest.cs +++ b/src/Recyclarr.TrashLib.Tests/Config/Parsing/ConfigurationFinderTest.cs @@ -33,7 +33,7 @@ public class ConfigurationFinderTest fs.AddFile(path.FullName, new MockFileData("")); } - var result = sut.GetConfigFiles(null); + var result = sut.GetConfigFiles(); result.Should().BeEquivalentTo(yamlPaths, o => o.Including(x => x.FullName)); } diff --git a/src/Recyclarr.TrashLib.Tests/Processors/ConfigListProcessorTest.cs b/src/Recyclarr.TrashLib.Tests/Processors/ConfigListProcessorTest.cs index 9d887b33..fd6eb536 100644 --- a/src/Recyclarr.TrashLib.Tests/Processors/ConfigListProcessorTest.cs +++ b/src/Recyclarr.TrashLib.Tests/Processors/ConfigListProcessorTest.cs @@ -10,7 +10,7 @@ public class ConfigListProcessorTest { [Test] [InlineAutoMockData(ConfigListCategory.Templates)] - public void List_templates_invokes_correct_lister( + public async Task List_templates_invokes_correct_lister( ConfigListCategory category, [Frozen(Matching.ImplementedInterfaces)] StubAutofacIndex configListers, IConfigLister lister, @@ -18,8 +18,8 @@ public class ConfigListProcessorTest { configListers.Add(category, lister); - sut.Process(category); + await sut.Process(category); - lister.Received().List(); + await lister.Received().List(); } }