diff --git a/tests/dotnet/UnitTests/PostBuildTest.cs b/tests/dotnet/UnitTests/PostBuildTest.cs index 6ef41610f25..3922eb58ca6 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]