Merge pull request #4926 from piotrpMSFT/piotrpMSFT/issues/4381/removetests

Remove tests affected by https://github.com/dotnet/cli/issues/4381
This commit is contained in:
Livar 2016-12-05 15:47:31 -08:00 committed by GitHub
commit d0e882bd91
2 changed files with 0 additions and 42 deletions

View file

@ -13,27 +13,6 @@ namespace Microsoft.DotNet.New.Tests
{
public class GivenThatIWantANewCSApp : TestBase
{
[Fact(Skip="https://github.com/dotnet/cli/issues/4381")]
public void When_NewtonsoftJson_dependency_added_Then_project_restores_and_runs()
{
var rootPath = TestAssetsManager.CreateTestDirectory().Path;
var projectName = new DirectoryInfo(rootPath).Name;
var projectFile = Path.Combine(rootPath, $"{projectName}.csproj");
new TestCommand("dotnet") { WorkingDirectory = rootPath }
.Execute("new");
AddProjectDependency(projectFile, "Newtonsoft.Json", "7.0.1");
new TestCommand("dotnet") { WorkingDirectory = rootPath }
.Execute("restore /p:SkipInvalidConfigurations=true")
.Should().Pass();
new TestCommand("dotnet") { WorkingDirectory = rootPath }
.Execute("run")
.Should().Pass();
}
[Fact]
public void When_dotnet_build_is_invoked_Then_app_builds_without_warnings()
{

View file

@ -13,27 +13,6 @@ namespace Microsoft.DotNet.New.Tests
{
public class GivenThatIWantANewFSApp : TestBase
{
[Fact(Skip="https://github.com/dotnet/cli/issues/4381")]
public void When_NewtonsoftJson_dependency_added_Then_project_restores_and_runs()
{
var rootPath = TestAssetsManager.CreateTestDirectory().Path;
var projectName = new DirectoryInfo(rootPath).Name;
var projectFile = Path.Combine(rootPath, $"{projectName}.csproj");
new TestCommand("dotnet") { WorkingDirectory = rootPath }
.Execute("new --lang f#");
GivenThatIWantANewCSApp.AddProjectDependency(projectFile, "Newtonsoft.Json", "7.0.1");
new TestCommand("dotnet") { WorkingDirectory = rootPath }
.Execute("restore /p:SkipInvalidConfigurations=true")
.Should().Pass();
new TestCommand("dotnet") { WorkingDirectory = rootPath }
.Execute("run")
.Should().Pass();
}
[Fact]
public void When_dotnet_build_is_invoked_Then_app_builds_without_warnings_fs()
{