Skip to content

Commit ab33ff8

Browse files
committed
Remove MSA test
1 parent 8648fa2 commit ab33ff8

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

msal4j-sdk/src/integrationtest/java/com.microsoft.aad.msal4j/DeviceCodeIT.java

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -46,38 +46,6 @@ void DeviceCodeFlowADTest() throws Exception {
4646
IntegrationTestHelper.assertAccessAndIdTokensNotNull(result);
4747
}
4848

49-
//TODO: This test is failing intermittently due to inconsistent login page layouts and is commented out until fixed.
50-
//@Test()
51-
// void DeviceCodeFlowMSATest() throws Exception {
52-
//
53-
// LabResponse labResponse = LabConfigHelper.getMSAUser();
54-
// UserConfig user = labResponse.getUser();
55-
// AppConfig app = labResponse.getApp();
56-
//
57-
// PublicClientApplication pca = IntegrationTestHelper.createPublicApp(app.getAppId(), TestConstants.CONSUMERS_AUTHORITY);
58-
//
59-
// Consumer<DeviceCode> deviceCodeConsumer = (DeviceCode deviceCode) -> {
60-
// runAutomatedDeviceCodeFlow(deviceCode, user);
61-
// };
62-
//
63-
// IAuthenticationResult result = pca.acquireToken(DeviceCodeFlowParameters
64-
// .builder(Collections.singleton(""),
65-
// deviceCodeConsumer)
66-
// .build())
67-
// .get();
68-
//
69-
// assertNotNull(result);
70-
// assertNotNull(result.accessToken());
71-
//
72-
// result = pca.acquireTokenSilently(SilentParameters.
73-
// builder(Collections.singleton(""), result.account()).
74-
// build())
75-
// .get();
76-
//
77-
// assertNotNull(result);
78-
// assertNotNull(result.accessToken());
79-
// }
80-
8149
private void runAutomatedDeviceCodeFlow(DeviceCode deviceCode, UserConfig user) {
8250
SeleniumExtensions.performDeviceCodeLogin(
8351
seleniumDriver,

0 commit comments

Comments
 (0)