Test fixes - update AspNetCore version being looked for, account for diasymreadernative showing up in output, account for new default of netcoreapp1.1 for console apps
This commit is contained in:
parent
2659a777b5
commit
04f714c01f
3 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ namespace Microsoft.DotNet.Cli.Build.Tests
|
|||
.Execute()
|
||||
.Should().Pass();
|
||||
|
||||
var outputDll = Directory.EnumerateFiles(Path.Combine(rootPath, "bin"), "*.dll", SearchOption.AllDirectories).Single();
|
||||
var outputDll = Directory.EnumerateFiles(Path.Combine(rootPath, "bin"), "*.dll", SearchOption.AllDirectories).Single(x => !x.Contains("DiaSymReader"));
|
||||
|
||||
var outputRunCommand = new TestCommand("dotnet");
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
|
|||
var configuration = Environment.GetEnvironmentVariable("CONFIGURATION") ?? "Debug";
|
||||
|
||||
var outputProgram = rootDir
|
||||
.GetDirectory("bin", configuration, "netcoreapp1.0", "publish", $"{rootDir.Name}.dll")
|
||||
.GetDirectory("bin", configuration, "netcoreapp1.1", "publish", $"{rootDir.Name}.dll")
|
||||
.FullName;
|
||||
|
||||
new TestCommand(outputProgram)
|
||||
|
|
|
@ -118,7 +118,7 @@ A command is running to initially populate your local package cache, to improve
|
|||
|
||||
_nugetCacheFolder
|
||||
.GetDirectory("microsoft.aspnetcore.mvc")
|
||||
.Should().HaveDirectories(new string[] { "1.0.3", "1.1.2" });
|
||||
.Should().HaveDirectories(new string[] { "1.0.4", "1.1.2" });
|
||||
}
|
||||
|
||||
private string GetDotnetVersion()
|
||||
|
|
Loading…
Reference in a new issue