unquarantine some user secrets tests (#21304)
This commit is contained in:
parent
44c7eff563
commit
8fe81d9182
|
|
@ -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 = @"<lots of XML invalid values>&";
|
||||
|
|
@ -74,7 +72,6 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public void DoesNotGenerateIdForProjectWithSecretId()
|
||||
{
|
||||
const string SecretId = "AlreadyExists";
|
||||
|
|
|
|||
|
|
@ -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<string, string>[]
|
||||
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Reference in New Issue