diff --git a/src/Recyclarr.Tests/CompositionRootTest.cs b/src/Recyclarr.Tests/CompositionRootTest.cs index 162edb71..62935953 100644 --- a/src/Recyclarr.Tests/CompositionRootTest.cs +++ b/src/Recyclarr.Tests/CompositionRootTest.cs @@ -10,6 +10,7 @@ using FluentAssertions; using NSubstitute; using NUnit.Framework; using Recyclarr.Command; +using Recyclarr.TestLibrary; using Serilog; using TrashLib; using TrashLib.Config.Services; @@ -31,7 +32,7 @@ public static class FactoryForService [TestFixture] [Parallelizable(ParallelScope.All)] -public class CompositionRootTest +public class CompositionRootTest : IntegrationFixture { private static readonly List FactoryTests = new() { @@ -43,8 +44,7 @@ public class CompositionRootTest { var act = () => { - using var container = CompositionRoot.Setup(); - service.Instantiate(container); + service.Instantiate(Container); }; // Do not use `NotThrow()` here because fluent assertions doesn't show the full exception details