@@ -70,60 +70,6 @@ public void TestCreateNewVault()
70
70
) ;
71
71
}
72
72
73
- [ Fact ( Skip = "Graph authentication blocks test passes" ) ]
74
- [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
75
- public void TestCreateNewPremiumVaultEnabledForDeployment ( )
76
- {
77
- KeyVaultManagementController . NewInstance . RunPsTestWorkflow (
78
- ( ) => { return new [ ] { string . Format ( "{0} {1} {2}" , "Test-CreateNewPremiumVaultEnabledForDeployment" , _data . resourceGroupName , _data . location ) } ; } ,
79
- ( env ) => Initialize ( ) ,
80
- null ,
81
- TestUtilities . GetCallingClass ( ) ,
82
- TestUtilities . GetCurrentMethodName ( )
83
- ) ;
84
- }
85
-
86
- [ Fact ]
87
- [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
88
- public void TestRecreateVaultFails ( )
89
- {
90
-
91
- KeyVaultManagementController . NewInstance . RunPsTestWorkflow (
92
- ( ) => { return new [ ] { string . Format ( "{0} {1} {2} {3}" , "Test-RecreateVaultFails" , _data . preCreatedVault , _data . resourceGroupName , _data . location ) } ; } ,
93
- ( env ) => Initialize ( ) ,
94
- null ,
95
- TestUtilities . GetCallingClass ( ) ,
96
- TestUtilities . GetCurrentMethodName ( )
97
- ) ;
98
- }
99
-
100
- [ Fact ]
101
- [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
102
- public void TestCreateVaultInUnknownResGrpFails ( )
103
- {
104
- KeyVaultManagementController . NewInstance . RunPsTestWorkflow (
105
- ( ) => { return new [ ] { string . Format ( "{0} {1}" , "Test-CreateVaultInUnknownResGrpFails" , _data . location ) } ; } ,
106
- ( env ) => Initialize ( ) ,
107
- null ,
108
- TestUtilities . GetCallingClass ( ) ,
109
- TestUtilities . GetCurrentMethodName ( )
110
- ) ;
111
- }
112
-
113
- [ Fact ( Skip = "Graph authentication blocks test passes" ) ]
114
- [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
115
- public void TestCreateVaultPositionalParams ( )
116
- {
117
-
118
- KeyVaultManagementController . NewInstance . RunPsTestWorkflow (
119
- ( ) => { return new [ ] { string . Format ( "{0} {1} {2}" , "Test-CreateVaultPositionalParams" , _data . resourceGroupName , _data . location ) } ; } ,
120
- ( env ) => Initialize ( ) ,
121
- null ,
122
- TestUtilities . GetCallingClass ( ) ,
123
- TestUtilities . GetCurrentMethodName ( )
124
- ) ;
125
- }
126
-
127
73
#endregion
128
74
129
75
#region Get-AzureRmKeyVault
@@ -163,25 +109,12 @@ public void TestListVaults()
163
109
164
110
#region Remove-AzureRmKeyVault
165
111
166
- [ Fact ( Skip = "Graph authentication blocks test passes" ) ]
167
- [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
168
- public void TestDeleteVaultByName ( )
169
- {
170
- KeyVaultManagementController . NewInstance . RunPsTestWorkflow (
171
- ( ) => { return new [ ] { string . Format ( "{0} {1} {2}" , "Test-DeleteVaultByName" , _data . resourceGroupName , _data . location ) } ; } ,
172
- ( env ) => Initialize ( ) ,
173
- null ,
174
- TestUtilities . GetCallingClass ( ) ,
175
- TestUtilities . GetCurrentMethodName ( )
176
- ) ;
177
- }
178
-
179
112
[ Fact ]
180
113
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
181
- public void TestDeleteUnknownVaultFails ( )
114
+ public void TestDeleteVault ( )
182
115
{
183
116
KeyVaultManagementController . NewInstance . RunPsTestWorkflow (
184
- ( ) => { return new [ ] { string . Format ( "{0} " , "Test-DeleteUnknownVaultFails" ) } ; } ,
117
+ ( ) => { return new [ ] { string . Format ( "{0} {1} {2} " , "Test-DeleteVaultByName" , _data . resourceGroupName , _data . location ) } ; } ,
185
118
( env ) => Initialize ( ) ,
186
119
null ,
187
120
TestUtilities . GetCallingClass ( ) ,
@@ -508,22 +441,6 @@ public void TestRemoveNonExistentAccessPolicyDoesNotThrow()
508
441
509
442
#endregion
510
443
511
- #region Piping
512
- [ Fact ( Skip = "Graph authentication blocks test passes" ) ]
513
- [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
514
- public void TestCreateDeleteVaultWithPiping ( )
515
- {
516
- KeyVaultManagementController . NewInstance . RunPsTestWorkflow (
517
- ( ) => { return new [ ] { string . Format ( "{0} {1} {2}" , "Test-CreateDeleteVaultWithPiping" , _data . resourceGroupName , _data . location ) } ; } ,
518
- ( env ) => Initialize ( ) ,
519
- null ,
520
- TestUtilities . GetCallingClass ( ) ,
521
- TestUtilities . GetCurrentMethodName ( )
522
- ) ;
523
- }
524
-
525
- #endregion
526
-
527
444
#region Helper Methods
528
445
private string GetUser ( TestEnvironment environment )
529
446
{
0 commit comments