This commit is contained in:
Piotr Puszkiewicz 2016-12-05 12:23:29 -08:00
parent 6a38780f4e
commit 7eb87f3397
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()
{