@@ -60,7 +60,8 @@ public class ManagedIdentityTests
60
60
//non existent Resource ID of the User Assigned Identity
61
61
private const string Non_Existent_UamiResourceId = "/subscriptions/userAssignedIdentities/NO_ID" ;
62
62
63
- [ DataTestMethod ]
63
+ //DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
64
+ //[DataTestMethod]
64
65
[ DataRow ( MsiAzureResource . WebApp , "" , DisplayName = "System_Identity_Web_App" ) ]
65
66
//[DataRow(MsiAzureResource.Function, "", DisplayName = "System_Identity_Function_App")]
66
67
//[DataRow(MsiAzureResource.VM, "", DisplayName = "System_Identity_Virtual_Machine")]
@@ -128,7 +129,8 @@ public async Task AcquireMSITokenAsync(MsiAzureResource azureResource, string us
128
129
}
129
130
}
130
131
131
- [ TestMethod ]
132
+ //DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
133
+ //[TestMethod]
132
134
public async Task AcquireMsiToken_ForTokenExchangeResource_Successfully ( )
133
135
{
134
136
string resource = "api://AzureAdTokenExchange" ;
@@ -183,7 +185,8 @@ public async Task AcquireMsiToken_ForTokenExchangeResource_Successfully()
183
185
}
184
186
}
185
187
186
- [ TestMethod ]
188
+ //DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
189
+ //[TestMethod]
187
190
public async Task AcquireMsiToken_ExchangeForEstsToken_Successfully ( )
188
191
{
189
192
const string resource = "api://AzureAdTokenExchange" ;
@@ -285,7 +288,8 @@ public async Task AcquireMsiToken_ExchangeForEstsToken_Successfully()
285
288
}
286
289
}
287
290
288
- [ DataTestMethod ]
291
+ //DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
292
+ //[DataTestMethod]
289
293
[ DataRow ( MsiAzureResource . WebApp , SomeRandomGuid , UserAssignedIdentityId . ClientId , DisplayName = "ClientId_Web_App" ) ]
290
294
[ DataRow ( MsiAzureResource . WebApp , SomeRandomGuid , UserAssignedIdentityId . ObjectId , DisplayName = "ObjectId_Web_App" ) ]
291
295
[ DataRow ( MsiAzureResource . WebApp , Non_Existent_UamiResourceId , UserAssignedIdentityId . ResourceId , DisplayName = "ResourceID_Web_App" ) ]
@@ -334,7 +338,8 @@ await mia
334
338
}
335
339
}
336
340
337
- [ DataTestMethod ]
341
+ //DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
342
+ //[DataTestMethod]
338
343
[ DataRow ( MsiAzureResource . WebApp , "" , UserAssignedIdentityId . None , DisplayName = "System_Identity_Web_App" ) ]
339
344
[ DataRow ( MsiAzureResource . WebApp , UserAssignedClientID , UserAssignedIdentityId . ClientId , DisplayName = "ClientId_Web_App" ) ]
340
345
[ DataRow ( MsiAzureResource . WebApp , UamiResourceId , UserAssignedIdentityId . ResourceId , DisplayName = "ResourceId_Web_App" ) ]
0 commit comments