File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/ResourceManager/Profile/Commands.Profile.Test Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 24
24
using Xunit ;
25
25
using Xunit . Abstractions ;
26
26
using Microsoft . Azure . Commands . Common . Authentication . Abstractions ;
27
+ using System ;
28
+ using Microsoft . WindowsAzure . Commands . Common ;
27
29
28
30
namespace Microsoft . Azure . Commands . ResourceManager . Profile . Test
29
31
{
@@ -42,6 +44,7 @@ public ContextCmdletTests(ITestOutputHelper output)
42
44
AzureSession . Instance . DataStore = dataStore ;
43
45
commandRuntimeMock = new MockCommandRuntime ( ) ;
44
46
AzureSession . Instance . AuthenticationFactory = new MockTokenAuthenticationFactory ( ) ;
47
+ Environment . SetEnvironmentVariable ( AzurePSDataCollectionProfile . EnvironmentVariableName , "false" ) ;
45
48
}
46
49
47
50
[ Fact ]
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ private void RunPsTestWorkflow(
108
108
helper . RMResourceModule ,
109
109
helper . RMResourceManagerStartup ,
110
110
helper . RMInsightsModule ) ;
111
- Environment . SetEnvironmentVariable ( AzurePSDataCollectionProfile . EnvironmentVariableName , "false" ) ;
111
+
112
112
try
113
113
{
114
114
if ( scriptBuilder != null )
You can’t perform that action at this time.
0 commit comments