You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/tests/Recyclarr.TestLibrary/Cli/TestQualityItemLimitFactory.cs

20 lines
604 B

using Recyclarr.Cli.Pipelines.QualitySize.PipelinePhases.Limits;
using Recyclarr.TestLibrary.Core;
using Recyclarr.TrashGuide;
using Recyclarr.TrashGuide.QualitySize;
namespace Recyclarr.TestLibrary.Cli;
public class TestQualityItemLimitFactory : IQualityItemLimitFactory
{
public Task<QualityItemLimits> Create(SupportedServices serviceType, CancellationToken ct)
{
return Task.FromResult(
new QualityItemLimits(
TestQualityItemLimits.MaxUnlimitedThreshold,
TestQualityItemLimits.PreferredUnlimitedThreshold
)
);
}
}