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.Cli.IntegrationTests/CliIntegrationFixture.cs

16 lines
489 B

using Autofac;
using Recyclarr.IntegrationTests;
namespace Recyclarr.Cli.IntegrationTests;
[FixtureLifeCycle(LifeCycle.InstancePerTestCase)]
internal abstract class CliIntegrationFixture : IntegrationTestFixture
{
protected override void RegisterTypes(ContainerBuilder builder)
{
// Do NOT invoke the base method here!
// We are deliberately REPLACING those registrations (the composition root here is a SUPERSET).
CompositionRoot.Setup(builder);
}
}