turn on multi tfm test

This commit is contained in:
Bryan Thornbury 2016-10-20 15:19:35 -07:00
parent 481aebd18a
commit 1c1f4c462f

View file

@ -123,8 +123,7 @@ namespace Microsoft.DotNet.Migration.Tests
} }
[Theory] [Theory]
// TODO: Enable this when X-Targeting is in [InlineData("TestLibraryWithMultipleFrameworks")]
// [InlineData("TestLibraryWithMultipleFrameworks")]
public void It_migrates_projects_with_multiple_TFMs(string projectName) public void It_migrates_projects_with_multiple_TFMs(string projectName)
{ {
var projectDirectory = var projectDirectory =
@ -531,12 +530,12 @@ namespace Microsoft.DotNet.Migration.Tests
if (projectName != null) if (projectName != null)
{ {
command.Execute($"{projectName}.csproj /p:SkipInvalidConfigurations=true") command.Execute($"{projectName}.csproj /p:SkipInvalidConfigurations=true;_InvalidConfigurationWarning=false")
.Should().Pass(); .Should().Pass();
} }
else else
{ {
command.Execute("/p:SkipInvalidConfigurations=true") command.Execute("/p:SkipInvalidConfigurations=true;_InvalidConfigurationWarning=false")
.Should().Pass(); .Should().Pass();
} }
} }