Fixing failing test. Now that the latest NetStandard.Library version moved to 2.0.1, the test needed to account for that.
This commit is contained in:
parent
9e97e53446
commit
3b1c67bb55
1 changed files with 3 additions and 4 deletions
|
@ -75,14 +75,13 @@ namespace Microsoft.DotNet.New.Tests
|
|||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("console", "microsoft.netcore.app")]
|
||||
[InlineData("classlib", "netstandard.library")]
|
||||
public void NewProjectRestoresCorrectPackageVersion(string type, string packageName)
|
||||
[InlineData("console", "microsoft.netcore.app", "2.0.0")]
|
||||
[InlineData("classlib", "netstandard.library", "2.0.1")]
|
||||
public void NewProjectRestoresCorrectPackageVersion(string type, string packageName, string expectedVersion)
|
||||
{
|
||||
var rootPath = TestAssets.CreateTestDirectory(identifier: $"_{type}").FullName;
|
||||
var packagesDirectory = Path.Combine(rootPath, "packages");
|
||||
var projectName = "Project";
|
||||
var expectedVersion = "2.0.0";
|
||||
var repoRootNuGetConfig = Path.Combine(RepoDirectoriesProvider.RepoRoot, "NuGet.Config");
|
||||
|
||||
new NewCommand()
|
||||
|
|
Loading…
Reference in a new issue