Skip to content

Commit

Permalink
Merge pull request chocolatey#2509 from TheCakeIsNaOH/nunit-setup-fix
Browse files Browse the repository at this point in the history
(chocolatey#2434) Don't hardcode platform in NUnitSetup
  • Loading branch information
gep13 authored Jan 10, 2022
2 parents c76012d + 6222645 commit a6a0cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chocolatey.tests.integration/NUnitSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public override void BeforeEverything()
// deep copy so we don't have the same configuration and
// don't have to worry about issues using it
var config = Container.GetInstance<ChocolateyConfiguration>().deep_copy();
config.Information.PlatformType = PlatformType.Windows;
config.Information.PlatformType = Platform.get_platform();
config.Information.IsInteractive = false;
config.PromptForConfirmation = false;
config.Force = true;
Expand Down

0 comments on commit a6a0cd9

Please sign in to comment.