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);
|
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";
|
||||||
|
|
|
||||||
|
|
@ -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)]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue