Quarantine dotnet-user-secrets InitCommandTests (#21338)
This commit is contained in:
parent
3af92e29b5
commit
49b4f418d5
|
|
@ -98,6 +98,7 @@ namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
|||
{
|
||||
_reporter.Verbose(outputBuilder.ToString());
|
||||
_reporter.Verbose(errorBuilder.ToString());
|
||||
_reporter.Error($"Exit code: {process.ExitCode}");
|
||||
throw new InvalidOperationException(Resources.FormatError_ProjectFailedToLoad(projectFile));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ 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);
|
||||
|
|
@ -44,6 +45,7 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public void AddsSpecificSecretIdToProject()
|
||||
{
|
||||
const string SecretId = "TestSecretId";
|
||||
|
|
@ -58,6 +60,7 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public void AddsEscapedSpecificSecretIdToProject()
|
||||
{
|
||||
const string SecretId = @"<lots of XML invalid values>&";
|
||||
|
|
@ -72,6 +75,7 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public void DoesNotGenerateIdForProjectWithSecretId()
|
||||
{
|
||||
const string SecretId = "AlreadyExists";
|
||||
|
|
@ -114,6 +118,7 @@ namespace Microsoft.Extensions.SecretManager.Tools.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
[QuarantinedTest]
|
||||
public void OverridesIdForProjectWithSecretId()
|
||||
{
|
||||
const string SecretId = "AlreadyExists";
|
||||
|
|
|
|||
Loading…
Reference in New Issue