From e6654f96e59645234f56be9ab674170c180fec72 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Mon, 15 Nov 2021 12:44:03 -0800 Subject: [PATCH] Revert "Update the WD publish tests to target downlevel as well" This reverts commit 8f2fda8f782b43b4485368a644a4370972bd093f. --- test/EndToEnd/ProjectBuildTests.cs | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/test/EndToEnd/ProjectBuildTests.cs b/test/EndToEnd/ProjectBuildTests.cs index 1ae6cd59a..e3377ef9e 100644 --- a/test/EndToEnd/ProjectBuildTests.cs +++ b/test/EndToEnd/ProjectBuildTests.cs @@ -85,15 +85,13 @@ namespace EndToEnd.Tests .Should().Pass().And.HaveStdOutContaining("Hello, World!"); } - [WindowsOnlyTheory] - [InlineData("net5.0")] - [InlineData("net6.0")] - public void ItCanPublishArm64Winforms(string TargetFramework) + [WindowsOnlyFact] + public void ItCanPublishArm64Winforms() { DirectoryInfo directory = TestAssets.CreateTestDirectory(); string projectDirectory = directory.FullName; - string newArgs = $"winforms -f {TargetFramework} --no-restore"; + string newArgs = "winforms --no-restore"; new NewCommandShim() .WithWorkingDirectory(projectDirectory) .Execute(newArgs) @@ -113,15 +111,13 @@ namespace EndToEnd.Tests selfContainedPublishDir.Should().HaveFilesMatching($"{directory.Name}.dll", SearchOption.TopDirectoryOnly); } - [WindowsOnlyTheory] - [InlineData("net5.0")] - [InlineData("net6.0")] - public void ItCanPublishArm64Wpf(string TargetFramework) + [WindowsOnlyFact] + public void ItCanPublishArm64Wpf() { DirectoryInfo directory = TestAssets.CreateTestDirectory(); string projectDirectory = directory.FullName; - string newArgs = $"wpf -f {TargetFramework} --no-restore"; + string newArgs = "wpf --no-restore"; new NewCommandShim() .WithWorkingDirectory(projectDirectory) .Execute(newArgs)