File tree Expand file tree Collapse file tree 2 files changed +308
-118
lines changed
src/Resources/Resources.Test
SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ProviderFeatureTests Expand file tree Collapse file tree 2 files changed +308
-118
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,13 @@ function Test-AzureProviderFeature
34
34
35
35
Register-AzProviderFeature - ProviderName " Microsoft.Cache" - FeatureName " betaAccess3"
36
36
37
- $cacheRegisteredFeatures = Get-AzProviderFeature - ProviderName " Microsoft.Cache"
37
+ $cacheRegisteredFeatures = Get-AzProviderFeature - ProviderName " Microsoft.Cache" - FeatureName " betaAccess3 "
38
38
39
39
Assert-True { $cacheRegisteredFeatures.Length -gt 0 }
40
+
41
+ Unregister-AzProviderFeature - ProviderName " Microsoft.Cache" - FeatureName " betaAccess3"
42
+
43
+ $UnregisteredFeatures = Get-AzProviderFeature - ProviderName " Microsoft.Cache" - FeatureName " betaAccess3"
44
+
45
+ Assert-True { $UnregisteredFeatures.Length -gt 0 }
40
46
}
You can’t perform that action at this time.
0 commit comments