Fix/disable test due to netcoreapp3.0 vs netcoreapp2.0

This commit is contained in:
William Li 2018-09-09 21:56:57 -07:00
parent 97817b0ca2
commit efcae15d0d
3 changed files with 3 additions and 3 deletions

View file

@ -105,7 +105,7 @@ namespace EndToEnd
?.Version; ?.Version;
} }
[Fact] [Fact(Skip = "https://github.com/dotnet/cli/issues/9968")]
public void WeCoverLatestNetCoreAppRollForward() public void WeCoverLatestNetCoreAppRollForward()
{ {
// Run "dotnet new console", get TargetFramework property, and make sure it's covered in SupportedNetCoreAppVersions // Run "dotnet new console", get TargetFramework property, and make sure it's covered in SupportedNetCoreAppVersions
@ -130,7 +130,6 @@ namespace EndToEnd
SupportedNetCoreAppVersions.Versions.Select(v => $"netcoreapp{v[0]}") SupportedNetCoreAppVersions.Versions.Select(v => $"netcoreapp{v[0]}")
.Should().Contain(targetFramework, $"the {nameof(SupportedNetCoreAppVersions)}.{nameof(SupportedNetCoreAppVersions.Versions)} property should include the default version " + .Should().Contain(targetFramework, $"the {nameof(SupportedNetCoreAppVersions)}.{nameof(SupportedNetCoreAppVersions.Versions)} property should include the default version " +
"of .NET Core created by \"dotnet new\""); "of .NET Core created by \"dotnet new\"");
} }
} }

View file

@ -19,7 +19,7 @@ namespace EndToEnd
"1.1", "1.1",
"2.0", "2.0",
"2.1", "2.1",
"2.2" "3.0"
}.Select(version => new object[] { version }); }.Select(version => new object[] { version });
} }
} }

View file

@ -6,6 +6,7 @@
<Import Project="build/InitRepo.props" /> <Import Project="build/InitRepo.props" />
<Import Project="build/DependencyVersions.props" /> <Import Project="build/DependencyVersions.props" />
<Import Project="build/TestDependencyVersions.props" /> <Import Project="build/TestDependencyVersions.props" />
<Import Project="build/Version.props" />
<PropertyGroup> <PropertyGroup>
<RestoreAdditionalProjectSources Condition="'$(TEST_PACKAGES)' != ''">$(TEST_PACKAGES)</RestoreAdditionalProjectSources> <RestoreAdditionalProjectSources Condition="'$(TEST_PACKAGES)' != ''">$(TEST_PACKAGES)</RestoreAdditionalProjectSources>
<NoPackageAnalysis>true</NoPackageAnalysis> <NoPackageAnalysis>true</NoPackageAnalysis>