Skip to content

Commit 8334022

Browse files
disable tests for private release
1 parent d4b616c commit 8334022

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tests/Microsoft.Identity.Test.Integration.netcore/HeadlessTests/ManagedIdentityTests.NetFwk.cs

+10-5
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public class ManagedIdentityTests
6060
//non existent Resource ID of the User Assigned Identity
6161
private const string Non_Existent_UamiResourceId = "/subscriptions/userAssignedIdentities/NO_ID";
6262

63-
[DataTestMethod]
63+
//DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
64+
//[DataTestMethod]
6465
[DataRow(MsiAzureResource.WebApp, "", DisplayName = "System_Identity_Web_App")]
6566
//[DataRow(MsiAzureResource.Function, "", DisplayName = "System_Identity_Function_App")]
6667
//[DataRow(MsiAzureResource.VM, "", DisplayName = "System_Identity_Virtual_Machine")]
@@ -128,7 +129,8 @@ public async Task AcquireMSITokenAsync(MsiAzureResource azureResource, string us
128129
}
129130
}
130131

131-
[TestMethod]
132+
//DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
133+
//[TestMethod]
132134
public async Task AcquireMsiToken_ForTokenExchangeResource_Successfully()
133135
{
134136
string resource = "api://AzureAdTokenExchange";
@@ -183,7 +185,8 @@ public async Task AcquireMsiToken_ForTokenExchangeResource_Successfully()
183185
}
184186
}
185187

186-
[TestMethod]
188+
//DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
189+
//[TestMethod]
187190
public async Task AcquireMsiToken_ExchangeForEstsToken_Successfully()
188191
{
189192
const string resource = "api://AzureAdTokenExchange";
@@ -285,7 +288,8 @@ public async Task AcquireMsiToken_ExchangeForEstsToken_Successfully()
285288
}
286289
}
287290

288-
[DataTestMethod]
291+
//DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
292+
//[DataTestMethod]
289293
[DataRow(MsiAzureResource.WebApp, SomeRandomGuid, UserAssignedIdentityId.ClientId, DisplayName = "ClientId_Web_App")]
290294
[DataRow(MsiAzureResource.WebApp, SomeRandomGuid, UserAssignedIdentityId.ObjectId, DisplayName = "ObjectId_Web_App")]
291295
[DataRow(MsiAzureResource.WebApp, Non_Existent_UamiResourceId, UserAssignedIdentityId.ResourceId, DisplayName = "ResourceID_Web_App")]
@@ -334,7 +338,8 @@ await mia
334338
}
335339
}
336340

337-
[DataTestMethod]
341+
//DISABLED FOR PRIVATE RELEASE - THESE TESTS NEEDS TO BE UNCOMMENTED FOR FINAL RELEASE
342+
//[DataTestMethod]
338343
[DataRow(MsiAzureResource.WebApp, "", UserAssignedIdentityId.None, DisplayName = "System_Identity_Web_App")]
339344
[DataRow(MsiAzureResource.WebApp, UserAssignedClientID, UserAssignedIdentityId.ClientId, DisplayName = "ClientId_Web_App")]
340345
[DataRow(MsiAzureResource.WebApp, UamiResourceId, UserAssignedIdentityId.ResourceId, DisplayName = "ResourceId_Web_App")]

0 commit comments

Comments
 (0)