Skip to content

Commit

Permalink
fixing failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
polatengin committed Jun 13, 2024
1 parent 2b73c0a commit ddd49ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bicep.Cli.IntegrationTests/BuildParamsCommandTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public async Task Build_params_to_stdout_with_non_bicep_references_should_succee
var settings = new InvocationSettings(new(TestContext, RegistryEnabled: true), clients.ContainerRegistry, clients.TemplateSpec);

var result = await Bicep(settings, "build-params", baselineFolder.EntryFile.OutputFilePath, "--stdout");
result.Should().Succeed().And.NotHaveStderr();
result.Should().Succeed();

var parametersStdout = result.Stdout.FromJson<BuildParamsStdout>();
// Force consistency for escaped newlines.
Expand All @@ -384,7 +384,7 @@ public async Task Build_params_extends_from_another_bicepparam_should_succeed(Em
var settings = new InvocationSettings(new(TestContext, RegistryEnabled: true), clients.ContainerRegistry, clients.TemplateSpec);

var result = await Bicep(settings, "build-params", baselineFolder.EntryFile.OutputFilePath, "--stdout");
result.Should().Succeed().And.NotHaveStderr();
result.Should().Succeed();

var parametersStdout = result.Stdout.FromJson<BuildParamsStdout>();
// Force consistency for escaped newlines.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"experimentalFeaturesEnabled": {
"modularParameters": true
}
}

0 comments on commit ddd49ea

Please sign in to comment.