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/src/tests/Recyclarr.Config.TestLibrary/ConfigIntegrationFixture.cs

21 lines
579 B

using Autofac;
using Recyclarr.TrashGuide;
using Recyclarr.TrashLib.TestLibrary;
using Recyclarr.Yaml;
namespace Recyclarr.Config.TestLibrary;
[FixtureLifeCycle(LifeCycle.InstancePerTestCase)]
public abstract class ConfigIntegrationFixture : TrashLibIntegrationFixture
{
protected override void RegisterTypes(ContainerBuilder builder)
{
base.RegisterTypes(builder);
builder.RegisterModule<ConfigAutofacModule>();
// dependencies
builder.RegisterModule<GuideAutofacModule>();
builder.RegisterModule<YamlAutofacModule>();
}
}