unquarantine some user secrets tests (#21304)

This commit is contained in:
Andrew Stanton-Nurse 2020-04-28 18:20:02 -07:00 committed by GitHub
parent 44c7eff563
commit 8fe81d9182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View File

@ -32,7 +32,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
private CommandContext MakeCommandContext() => new CommandContext(null, new TestReporter(_output), _console); private CommandContext MakeCommandContext() => new CommandContext(null, new TestReporter(_output), _console);
[Fact] [Fact]
[QuarantinedTest]
public void AddsSecretIdToProject() public void AddsSecretIdToProject()
{ {
var projectDir = _fixture.CreateProject(null); var projectDir = _fixture.CreateProject(null);
@ -59,7 +58,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public void AddsEscapedSpecificSecretIdToProject() public void AddsEscapedSpecificSecretIdToProject()
{ {
const string SecretId = @"<lots of XML invalid values>&"; const string SecretId = @"<lots of XML invalid values>&";
@ -74,7 +72,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public void DoesNotGenerateIdForProjectWithSecretId() public void DoesNotGenerateIdForProjectWithSecretId()
{ {
const string SecretId = "AlreadyExists"; const string SecretId = "AlreadyExists";

View File

@ -37,7 +37,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
[Theory] [Theory]
[InlineData(null)] [InlineData(null)]
[InlineData("")] [InlineData("")]
[QuarantinedTest]
public void Error_MissingId(string id) public void Error_MissingId(string id)
{ {
var project = Path.Combine(_fixture.CreateProject(id), "TestProject.csproj"); var project = Path.Combine(_fixture.CreateProject(id), "TestProject.csproj");
@ -83,7 +82,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
[Theory] [Theory]
[InlineData(true)] [InlineData(true)]
[InlineData(false)] [InlineData(false)]
[QuarantinedTest]
public void SetSecrets(bool fromCurrentDirectory) public void SetSecrets(bool fromCurrentDirectory)
{ {
var secrets = new KeyValuePair<string, string>[] var secrets = new KeyValuePair<string, string>[]
@ -149,7 +147,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public void SetSecret_Update_Existing_Secret() public void SetSecret_Update_Existing_Secret()
{ {
var projectPath = _fixture.GetTempSecretProject(); var projectPath = _fixture.GetTempSecretProject();
@ -187,7 +184,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public void Remove_Non_Existing_Secret() public void Remove_Non_Existing_Secret()
{ {
var projectPath = _fixture.GetTempSecretProject(); var projectPath = _fixture.GetTempSecretProject();
@ -197,7 +193,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public void Remove_Is_Case_Insensitive() public void Remove_Is_Case_Insensitive()
{ {
var projectPath = _fixture.GetTempSecretProject(); var projectPath = _fixture.GetTempSecretProject();
@ -214,7 +209,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public void List_Flattens_Nested_Objects() public void List_Flattens_Nested_Objects()
{ {
string secretId; string secretId;
@ -264,7 +258,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
} }
[Fact] [Fact]
[QuarantinedTest]
public void List_Empty_Secrets_File() public void List_Empty_Secrets_File()
{ {
var projectPath = _fixture.GetTempSecretProject(); var projectPath = _fixture.GetTempSecretProject();
@ -273,7 +266,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
Assert.Contains(Resources.Error_No_Secrets_Found, _console.GetOutput()); Assert.Contains(Resources.Error_No_Secrets_Found, _console.GetOutput());
} }
[QuarantinedTest]
[Theory] [Theory]
[InlineData(true)] [InlineData(true)]
[InlineData(false)] [InlineData(false)]