Clean up use of 'Runspaceconfiguration' from comments and xunit test code (#5569)

This commit is contained in:
Jonathan Muller authored and Dongbo Wang committed 2017-11-29 09:38:04 -08:00
1 parent f67844e4cd
commit ad17640d48
3 files changed
+2 -5

No files matched your search

+1 -2
View File
@@ -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;
}