Skip to content

Commit

Permalink
reset settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft committed Nov 16, 2024
1 parent e7e0196 commit a49ac4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AppInstallerCLIE2ETests/ConfigureCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}

Expand Down

0 comments on commit a49ac4c

Please sign in to comment.