test: Add AutoFixture to global usings in Cli test project

pull/201/head
Robert Dailey 1 year ago
parent 11f3ab005b
commit fd8a2f570b

@ -1,5 +1,4 @@
using Recyclarr.Cli.Console.Helpers;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
namespace Recyclarr.Cli.Tests.Console.Helpers;

@ -0,0 +1 @@
global using Recyclarr.TestLibrary.AutoFixture;

@ -1,6 +1,5 @@
using System.IO.Abstractions;
using Recyclarr.Cli.Logging;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.TestLibrary;
namespace Recyclarr.Cli.Tests;

@ -2,7 +2,6 @@ using Flurl.Http.Testing;
using Recyclarr.Cli.Pipelines.CustomFormat.Api;
using Recyclarr.Cli.TestLibrary;
using Recyclarr.Common;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
namespace Recyclarr.Cli.Tests.Pipelines.CustomFormat.Api;

@ -1,7 +1,6 @@
using System.IO.Abstractions;
using System.IO.Abstractions.Extensions;
using Recyclarr.Cli.Pipelines.CustomFormat.Guide;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Startup;
namespace Recyclarr.Cli.Tests.Pipelines.CustomFormat.Guide;

@ -1,5 +1,4 @@
using Recyclarr.Cli.Pipelines.CustomFormat.Guide;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.TestLibrary;
using Spectre.Console.Testing;

@ -1,7 +1,6 @@
using Newtonsoft.Json.Linq;
using Recyclarr.Cli.Pipelines.CustomFormat.Guide;
using Recyclarr.Common.Extensions;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Json;
using Recyclarr.TrashLib.Models;

@ -1,6 +1,5 @@
using Recyclarr.Cli.Pipelines.CustomFormat.Guide;
using Recyclarr.Cli.Pipelines.CustomFormat.PipelinePhases;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
using Recyclarr.TrashLib.TestLibrary;

@ -1,7 +1,6 @@
using Recyclarr.Cli.Pipelines.CustomFormat.Models;
using Recyclarr.Cli.Pipelines.QualityProfile.PipelinePhases;
using Recyclarr.Cli.TestLibrary;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
using Recyclarr.TrashLib.TestLibrary;

@ -2,7 +2,6 @@ using Recyclarr.Cli.Pipelines.QualityProfile;
using Recyclarr.Cli.Pipelines.QualityProfile.Api;
using Recyclarr.Cli.Pipelines.QualityProfile.PipelinePhases;
using Recyclarr.Cli.TestLibrary;
using Recyclarr.TestLibrary.AutoFixture;
namespace Recyclarr.Cli.Tests.Pipelines.QualityProfile.PipelinePhases;

@ -2,7 +2,6 @@ using NSubstitute.ReturnsExtensions;
using Recyclarr.Cli.Pipelines.QualitySize;
using Recyclarr.Cli.Pipelines.QualitySize.Guide;
using Recyclarr.Cli.Pipelines.QualitySize.PipelinePhases;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
namespace Recyclarr.Cli.Tests.Pipelines.QualitySize.PipelinePhases;

@ -1,7 +1,6 @@
using Recyclarr.Cli.Pipelines.QualitySize;
using Recyclarr.Cli.Pipelines.QualitySize.Api;
using Recyclarr.Cli.Pipelines.QualitySize.PipelinePhases;
using Recyclarr.TestLibrary.AutoFixture;
namespace Recyclarr.Cli.Tests.Pipelines.QualitySize.PipelinePhases;

@ -1,6 +1,5 @@
using Recyclarr.Cli.Pipelines.ReleaseProfile;
using Recyclarr.Cli.Pipelines.ReleaseProfile.Filters;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
namespace Recyclarr.Cli.Tests.Pipelines.ReleaseProfile.Filters;

@ -1,6 +1,5 @@
using Recyclarr.Cli.Pipelines.ReleaseProfile;
using Recyclarr.Cli.Pipelines.ReleaseProfile.Filters;
using Recyclarr.TestLibrary.AutoFixture;
namespace Recyclarr.Cli.Tests.Pipelines.ReleaseProfile.Filters;

@ -1,6 +1,5 @@
using Recyclarr.Cli.Pipelines.ReleaseProfile;
using Recyclarr.Cli.Pipelines.ReleaseProfile.Filters;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
namespace Recyclarr.Cli.Tests.Pipelines.ReleaseProfile.Filters;

@ -1,6 +1,5 @@
using Recyclarr.Cli.Pipelines.ReleaseProfile;
using Recyclarr.Cli.Pipelines.ReleaseProfile.Guide;
using Recyclarr.TestLibrary.AutoFixture;
using Spectre.Console.Testing;
namespace Recyclarr.Cli.Tests.Pipelines.ReleaseProfile.Guide;

@ -4,7 +4,6 @@ using Newtonsoft.Json;
using Recyclarr.Cli.Pipelines.ReleaseProfile;
using Recyclarr.Cli.Pipelines.ReleaseProfile.Guide;
using Recyclarr.TestLibrary;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Repo;
namespace Recyclarr.Cli.Tests.Pipelines.ReleaseProfile.Guide;

@ -1,7 +1,6 @@
using Recyclarr.Cli.Pipelines.Tags;
using Recyclarr.Cli.Pipelines.Tags.Api;
using Recyclarr.Cli.Pipelines.Tags.PipelinePhases;
using Recyclarr.TestLibrary.AutoFixture;
namespace Recyclarr.Cli.Tests.Pipelines.Tags.PipelinePhases;

@ -1,7 +1,6 @@
using Recyclarr.Cli.Pipelines.Tags;
using Recyclarr.Cli.Pipelines.Tags.Api;
using Recyclarr.Cli.Pipelines.Tags.PipelinePhases;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
namespace Recyclarr.Cli.Tests.Pipelines.Tags.PipelinePhases;

@ -1,5 +1,4 @@
using Recyclarr.Cli.Pipelines.Tags.PipelinePhases;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Services;
using Recyclarr.TrashLib.TestLibrary;

@ -1,6 +1,5 @@
using Recyclarr.Cli.Pipelines.Tags.Api;
using Recyclarr.Cli.Pipelines.Tags.PipelinePhases;
using Recyclarr.TestLibrary.AutoFixture;
namespace Recyclarr.Cli.Tests.Pipelines.Tags.PipelinePhases;

@ -3,7 +3,6 @@ using System.IO.Abstractions.Extensions;
using Recyclarr.Cli.Console.Settings;
using Recyclarr.Cli.Processors.Config;
using Recyclarr.Cli.TestLibrary;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config;
using Recyclarr.TrashLib.Config.Services;
using Recyclarr.TrashLib.ExceptionTypes;

@ -6,7 +6,6 @@ using AutoFixture;
using Recyclarr.Cli.Console.Commands;
using Recyclarr.Cli.Processors.Config;
using Recyclarr.Cli.TestLibrary;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.ExceptionTypes;
namespace Recyclarr.Cli.Tests.Processors;

@ -1,6 +1,5 @@
using Recyclarr.Cli.Processors.Config;
using Recyclarr.TestLibrary.Autofac;
using Recyclarr.TestLibrary.AutoFixture;
using Recyclarr.TrashLib.Config.Listers;
namespace Recyclarr.Cli.Tests.Processors;

Loading…
Cancel
Save