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:
commit
d0e882bd91
2 changed files with 0 additions and 42 deletions
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue