From 82d97e8056dbb152ad2f39596db0caed285fb4a4 Mon Sep 17 00:00:00 2001 From: Haritha Mohan Date: Fri, 18 Oct 2024 20:15:02 -0700 Subject: [PATCH] address review --- tests/dotnet/UnitTests/PostBuildTest.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/dotnet/UnitTests/PostBuildTest.cs b/tests/dotnet/UnitTests/PostBuildTest.cs index 6ef41610f250..3922eb58ca62 100644 --- a/tests/dotnet/UnitTests/PostBuildTest.cs +++ b/tests/dotnet/UnitTests/PostBuildTest.cs @@ -100,10 +100,10 @@ public void AssemblyStripping (string project, ApplePlatform platform, string ru } [Test] - [TestCase ("MySimpleApp", ApplePlatform.MacCatalyst, "maccatalyst-arm64;maccatalyst-x64", true)] - [TestCase ("MySimpleApp", ApplePlatform.MacCatalyst, "maccatalyst-arm64;maccatalyst-x64", false)] - public void DefaultAssemblyStripping (string project, ApplePlatform platform, string runtimeIdentifiers, bool shouldStrip) + [TestCase ("MySimpleApp", ApplePlatform.MacCatalyst, "maccatalyst-arm64;maccatalyst-x64")] + public void DefaultAssemblyStripping (string project, ApplePlatform platform, string runtimeIdentifiers) { + var configuration = "Release"; Configuration.IgnoreIfIgnoredPlatform (platform); Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers); @@ -112,11 +112,11 @@ public void DefaultAssemblyStripping (string project, ApplePlatform platform, st var properties = GetDefaultProperties (runtimeIdentifiers); // Verify value defaults to false when not set - properties ["EnableAssemblyILStripping"] = shouldStrip ? "true" : ""; + properties["Configuration"] = configuration; DotNet.AssertBuild (project_path, properties); - AssertBundleAssembliesStripStatus (appPath, shouldStrip); + AssertBundleAssembliesStripStatus (appPath, false); } [Test]