Disable tests that require templates that target .NET Core 2.1 (which aren't available yet)

This commit is contained in:
Daniel Plaisted 2017-08-18 18:07:57 -07:00
parent 60e5fabde2
commit 360e657884
6 changed files with 7 additions and 6 deletions

View file

@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Tests.EndToEnd
{
public class GivenDotNetUsesMSBuild : TestBase
{
[Fact]
[Fact(Skip = "https://github.com/dotnet/cli/issues/7476")]
public void ItCanNewRestoreBuildRunCleanMSBuildProject()
{
using (DisposableDirectory directory = Temp.CreateDirectory())

View file

@ -85,7 +85,7 @@ namespace Microsoft.DotNet.Cli.Build.Tests
.And.HaveStdOutContaining("project.assets.json");
}
[Fact]
[Fact(Skip = "https://github.com/dotnet/cli/issues/7476")]
public void ItRunsWhenRestoringToSpecificPackageDir()
{
var rootPath = TestAssets.CreateTestDirectory().FullName;

View file

@ -74,7 +74,7 @@ namespace Microsoft.DotNet.New.Tests
.Should().Pass();
}
[Theory]
[Theory(Skip = "https://github.com/dotnet/cli/issues/7476")]
[InlineData("console", "RuntimeFrameworkVersion", "microsoft.netcore.app")]
[InlineData("classlib", "NetStandardImplicitPackageVersion", "netstandard.library")]
public void NewProjectRestoresCorrectPackageVersion(string type, string propertyName, string packageName)

View file

@ -27,7 +27,8 @@ namespace Microsoft.DotNet.New.Tests
[InlineData("C#", "react", false, true)]
[InlineData("C#", "reactredux", false, true)]
[InlineData("F#", "console", false, false)]
[InlineData("F#", "classlib", false, false)]
// https://github.com/dotnet/cli/issues/7476
//[InlineData("F#", "classlib", false, false)]
[InlineData("F#", "mstest", false, false)]
[InlineData("F#", "xunit", false, false)]
[InlineData("F#", "mvc", true, false)]

View file

@ -197,7 +197,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
}
}
[Fact]
[Fact(Skip = "https://github.com/dotnet/cli/issues/7476")]
public void ItPublishesAppWhenRestoringToSpecificPackageDirectory()
{
var rootPath = TestAssets.CreateTestDirectory().FullName;

View file

@ -192,7 +192,7 @@ namespace Microsoft.DotNet.Cli.Run.Tests
.And.HaveStdOutContaining("Hello World!");
}
[Fact]
[Fact(Skip = "https://github.com/dotnet/cli/issues/7476")]
public void ItRunsAppWhenRestoringToSpecificPackageDirectory()
{
var rootPath = TestAssets.CreateTestDirectory().FullName;