Skip to content

Commit ab62de1

Browse files
committed
Adding reference to keyvault module
1 parent 83c0f04 commit ab62de1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/Sql/Sql.Test/ScenarioTests/SqlTestsBase.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ protected void RunPowerShellTest(params string[] scripts)
6868
{"Microsoft.Resources", null},
6969
{"Microsoft.Features", null},
7070
{"Microsoft.Authorization", null},
71-
{"Microsoft.Network", null}
71+
{"Microsoft.Network", null},
72+
{"Microsoft.KeyVault", null}
73+
7274
};
7375
var providersToIgnore = new Dictionary<string, string>
7476
{
@@ -93,7 +95,8 @@ protected void RunPowerShellTest(params string[] scripts)
9395
"AzureRM.Resources.ps1",
9496
Helper.RMOperationalInsightsModule,
9597
Helper.RMEventHubModule,
96-
Helper.RMMonitorModule);
98+
Helper.RMMonitorModule,
99+
Helper.RMKeyVaultModule);
97100
Helper.RunPowerShellTest(scripts);
98101
}
99102
}

tools/ScenarioTest.ResourceManager/EnvironmentSetupHelper.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ public EnvironmentSetupHelper()
108108
module = GetModuleManifest(StackStorageDirectory, "Azure.Storage");
109109
LogIfNotNull($"Stack Storage Data Plane Module path: {module}");
110110
StackRMStorageDataPlaneModule = module;
111+
module = GetModuleManifest(RmDirectory, "Az.KeyVault");
112+
LogIfNotNull($"KeyVault Module path: {module}");
113+
RMKeyVaultModule = module;
111114

112115
TestExecutionHelpers.SetUpSessionAndProfile();
113116
IDataStore datastore = new MemoryDataStore();
@@ -168,6 +171,8 @@ public EnvironmentSetupHelper()
168171

169172
public string StackRMStorageDataPlaneModule { get; private set; }
170173

174+
public string RMKeyVaultModule { get; private set; }
175+
171176
private void LogIfNotNull(string message)
172177
{
173178
if (this.TracingInterceptor != null)

0 commit comments

Comments
 (0)