Add a test to ensure 1.0 and 1.1 packages are available in the nuget cache on first run.
This commit is contained in:
parent
0cfc54c377
commit
10f70dd034
1 changed files with 9 additions and 1 deletions
|
@ -110,9 +110,17 @@ A command is running to initially populate your local package cache, to improve
|
|||
_nugetCacheFolder
|
||||
.Should()
|
||||
.HaveDirectories(expectedDirectories);
|
||||
|
||||
_nugetCacheFolder
|
||||
.GetDirectory("system.runtime")
|
||||
.Should().HaveDirectories(new string[] { "4.1.0", "4.3.0" });
|
||||
|
||||
_nugetCacheFolder
|
||||
.GetDirectory("microsoft.aspnetcore.mvc")
|
||||
.Should().HaveDirectories(new string[] { "1.0.1", "1.1.0" });
|
||||
}
|
||||
|
||||
private string GetDotnetVersion()
|
||||
private string GetDotnetVersion()
|
||||
{
|
||||
return new DotnetCommand().ExecuteWithCapturedOutput("--version").StdOut
|
||||
.TrimEnd(Environment.NewLine.ToCharArray());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue