File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ namespace Commands.NotificationHubs.Test
28
28
using Microsoft . Rest . ClientRuntime . Azure . TestFramework ;
29
29
using System ;
30
30
using System . Linq ;
31
+ using System . IO ;
31
32
32
33
public abstract class TestBaseClass : RMTestBase
33
34
{
@@ -64,6 +65,7 @@ protected void RunPowerShellTest(params string[] scripts)
64
65
providersToIgnore . Add ( "Microsoft.Azure.Management.Resources.ResourceManagementClient" , "2016-02-01" ) ;
65
66
HttpMockServer . Matcher = new PermissiveRecordMatcherWithApiExclusion ( true , d , providersToIgnore ) ;
66
67
68
+ HttpMockServer . RecordsDirectory = Path . Combine ( AppDomain . CurrentDomain . BaseDirectory , "SessionRecords" ) ;
67
69
using ( MockContext context = MockContext . Start ( callingClassType , mockName ) )
68
70
{
69
71
this . csmTestFactory = new LegacyTest . CSMTestEnvironmentFactory ( ) ;
You can’t perform that action at this time.
0 commit comments