mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
Clean up use of 'Runspaceconfiguration' from comments and xunit test code (#5569)
This commit is contained in:
1 parent
f67844e4cd
commit
ad17640d48
3 files changed
+2
-5
No files matched your search
@@ -37,9 +37,8 @@ namespace PSTests
|
||||
{
|
||||
CultureInfo currentCulture = CultureInfo.CurrentCulture;
|
||||
PSHost hostInterface = new DefaultHost(currentCulture,currentCulture);
|
||||
RunspaceConfiguration runspaceConfiguration = RunspaceConfiguration.Create();
|
||||
InitialSessionState iss = InitialSessionState.CreateDefault2();
|
||||
AutomationEngine engine = new AutomationEngine(hostInterface, runspaceConfiguration, iss);
|
||||
AutomationEngine engine = new AutomationEngine(hostInterface, iss);
|
||||
ExecutionContext executionContext = new ExecutionContext(engine, hostInterface, iss);
|
||||
return executionContext;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user