Fix tests now that --preserve-working-dir is no longer an option.

This commit is contained in:
Eric Erhardt 2017-05-18 19:36:28 -05:00
parent b44bce5786
commit 6ba3fbf5be

View file

@ -45,7 +45,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
.WithOutput(localAssemblyCache)
.WithRuntimeFrameworkVersion(_frameworkVersion)
.WithIntermediateWorkingDirectory(intermediateWorkingDirectory)
.Execute($"--preserve-working-dir")
.Execute()
.Should().Pass();
var configuration = Environment.GetEnvironmentVariable("CONFIGURATION") ?? "Debug";
@ -143,7 +143,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
.WithOutput(localAssemblyCache)
.WithRuntimeFrameworkVersion(_frameworkVersion)
.WithIntermediateWorkingDirectory(intermediateWorkingDirectory)
.Execute($"--preserve-working-dir")
.Execute()
.Should().Pass();
var configuration = Environment.GetEnvironmentVariable("CONFIGURATION") ?? "Debug";