Remove tests affected by https://github.com/dotnet/cli/issues/4381
This commit is contained in:
parent
6a38780f4e
commit
7eb87f3397
2 changed files with 0 additions and 42 deletions
|
@ -13,27 +13,6 @@ namespace Microsoft.DotNet.New.Tests
|
||||||
{
|
{
|
||||||
public class GivenThatIWantANewCSApp : TestBase
|
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]
|
[Fact]
|
||||||
public void When_dotnet_build_is_invoked_Then_app_builds_without_warnings()
|
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
|
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]
|
[Fact]
|
||||||
public void When_dotnet_build_is_invoked_Then_app_builds_without_warnings_fs()
|
public void When_dotnet_build_is_invoked_Then_app_builds_without_warnings_fs()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue