From a49ac4c52dd0afa41690920657f9f71d643cd5c4 Mon Sep 17 00:00:00 2001 From: Ryan Fu Date: Sat, 16 Nov 2024 09:05:52 -0800 Subject: [PATCH] reset settings --- src/AppInstallerCLIE2ETests/ConfigureCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AppInstallerCLIE2ETests/ConfigureCommand.cs b/src/AppInstallerCLIE2ETests/ConfigureCommand.cs index 6f7eaa4d3f..6335cb6e7b 100644 --- a/src/AppInstallerCLIE2ETests/ConfigureCommand.cs +++ b/src/AppInstallerCLIE2ETests/ConfigureCommand.cs @@ -122,14 +122,14 @@ public void ConfigureFromTestRepo_Location(TestCommon.TestModuleLocation locatio public void ConfigureFromTestRepo_SettingsDefaultModuleRoot() { TestCommon.EnsureModuleState(Constants.SimpleTestModuleName, present: false); - string moduleTestDir = TestCommon.GetRandomTestDir(); WinGetSettingsHelper.ConfigureConfigureBehavior(Constants.DefaultModuleRoot, moduleTestDir); string args = TestCommon.GetTestDataFile("Configuration\\Configure_TestRepo_Location.yml"); var result = TestCommon.RunAICLICommand(CommandAndAgreementsAndVerbose, args); - Assert.AreEqual(0, result.ExitCode); + WinGetSettingsHelper.ConfigureInstallBehavior(Constants.DefaultModuleRoot, string.Empty); + Assert.AreEqual(0, result.ExitCode); Assert.True(Directory.Exists(Path.Combine(moduleTestDir, Constants.SimpleTestModuleName))); }