From b5c49d81c5670073cda2a9602d8b93677b92aa77 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Wed, 30 Aug 2023 17:27:51 -0500 Subject: [PATCH] test: Suppress NSubstitute NS5000 Reason: https://github.com/nsubstitute/NSubstitute.Analyzers/issues/211 --- .../Console/Commands/ConfigCommandsIntegrationTest.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests/Recyclarr.Cli.Tests/Console/Commands/ConfigCommandsIntegrationTest.cs b/src/tests/Recyclarr.Cli.Tests/Console/Commands/ConfigCommandsIntegrationTest.cs index a7cbf717..aa303886 100644 --- a/src/tests/Recyclarr.Cli.Tests/Console/Commands/ConfigCommandsIntegrationTest.cs +++ b/src/tests/Recyclarr.Cli.Tests/Console/Commands/ConfigCommandsIntegrationTest.cs @@ -1,3 +1,4 @@ +using System.Diagnostics.CodeAnalysis; using System.IO.Abstractions; using Autofac; using Recyclarr.Cli.Console.Commands; @@ -22,6 +23,8 @@ public class ConfigCommandsIntegrationTest : CliIntegrationFixture } [Test] + [SuppressMessage("Usage", "NS5000:Received check.", Justification = + "See: https://github.com/nsubstitute/NSubstitute.Analyzers/issues/211")] public async Task Repo_update_is_called_on_config_list() { var repo = Resolve(); @@ -40,6 +43,8 @@ public class ConfigCommandsIntegrationTest : CliIntegrationFixture } [Test] + [SuppressMessage("Usage", "NS5000:Received check.", Justification = + "See: https://github.com/nsubstitute/NSubstitute.Analyzers/issues/211")] public async Task Repo_update_is_called_on_config_create() { var repo = Resolve();