From 8fe81d9182abb84be8e7ce07b633b12939a17518 Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Tue, 28 Apr 2020 18:20:02 -0700 Subject: [PATCH] unquarantine some user secrets tests (#21304) --- src/Tools/dotnet-user-secrets/test/InitCommandTest.cs | 3 --- src/Tools/dotnet-user-secrets/test/SecretManagerTests.cs | 8 -------- 2 files changed, 11 deletions(-) diff --git a/src/Tools/dotnet-user-secrets/test/InitCommandTest.cs b/src/Tools/dotnet-user-secrets/test/InitCommandTest.cs index 4478d98709..7a35a17258 100644 --- a/src/Tools/dotnet-user-secrets/test/InitCommandTest.cs +++ b/src/Tools/dotnet-user-secrets/test/InitCommandTest.cs @@ -32,7 +32,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests private CommandContext MakeCommandContext() => new CommandContext(null, new TestReporter(_output), _console); [Fact] - [QuarantinedTest] public void AddsSecretIdToProject() { var projectDir = _fixture.CreateProject(null); @@ -59,7 +58,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests } [Fact] - [QuarantinedTest] public void AddsEscapedSpecificSecretIdToProject() { const string SecretId = @"&"; @@ -74,7 +72,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests } [Fact] - [QuarantinedTest] public void DoesNotGenerateIdForProjectWithSecretId() { const string SecretId = "AlreadyExists"; diff --git a/src/Tools/dotnet-user-secrets/test/SecretManagerTests.cs b/src/Tools/dotnet-user-secrets/test/SecretManagerTests.cs index 48f6774b2b..1eab5c7c6b 100644 --- a/src/Tools/dotnet-user-secrets/test/SecretManagerTests.cs +++ b/src/Tools/dotnet-user-secrets/test/SecretManagerTests.cs @@ -37,7 +37,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests [Theory] [InlineData(null)] [InlineData("")] - [QuarantinedTest] public void Error_MissingId(string id) { var project = Path.Combine(_fixture.CreateProject(id), "TestProject.csproj"); @@ -83,7 +82,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests [Theory] [InlineData(true)] [InlineData(false)] - [QuarantinedTest] public void SetSecrets(bool fromCurrentDirectory) { var secrets = new KeyValuePair[] @@ -149,7 +147,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests } [Fact] - [QuarantinedTest] public void SetSecret_Update_Existing_Secret() { var projectPath = _fixture.GetTempSecretProject(); @@ -187,7 +184,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests } [Fact] - [QuarantinedTest] public void Remove_Non_Existing_Secret() { var projectPath = _fixture.GetTempSecretProject(); @@ -197,7 +193,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests } [Fact] - [QuarantinedTest] public void Remove_Is_Case_Insensitive() { var projectPath = _fixture.GetTempSecretProject(); @@ -214,7 +209,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests } [Fact] - [QuarantinedTest] public void List_Flattens_Nested_Objects() { string secretId; @@ -264,7 +258,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests } [Fact] - [QuarantinedTest] public void List_Empty_Secrets_File() { var projectPath = _fixture.GetTempSecretProject(); @@ -273,7 +266,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests Assert.Contains(Resources.Error_No_Secrets_Found, _console.GetOutput()); } - [QuarantinedTest] [Theory] [InlineData(true)] [InlineData(false)]