Skip to content

Commit 2efdffb

Browse files
committed
Removed tests as getUserAttributes is not public
1 parent fe33a07 commit 2efdffb

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

msal/src/test/java/com/microsoft/identity/nativeauth/NativeAuthPublicClientApplicationJavaTest.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3193,25 +3193,7 @@ public void testSignUpInvalidEmailReturnsError() throws ExecutionException, Inte
31933193
assertTrue(((SignUpError) signUpResult).isInvalidUsername());
31943194
}
31953195

3196-
@Test
3197-
public void testUserAttributesFlatUsernameBuilder() {
3198-
UserAttributes attrs = new UserAttributes.Builder()
3199-
.flatUsername("testuser")
3200-
.build();
3201-
assertEquals("testuser", attrs.getUserAttributes().get("flatusername"));
3202-
}
32033196

3204-
@Test
3205-
public void testUserAttributesFlatUsernameWithOtherAttributes() {
3206-
UserAttributes attrs = new UserAttributes.Builder()
3207-
.flatUsername("testuser")
3208-
.displayName("Test User")
3209-
.city("Seattle")
3210-
.build();
3211-
assertEquals("testuser", attrs.getUserAttributes().get("flatusername"));
3212-
assertEquals("Test User", attrs.getUserAttributes().get("displayName"));
3213-
assertEquals("Seattle", attrs.getUserAttributes().get("city"));
3214-
}
32153197
}
32163198

32173199
abstract class TestCallback<T> {

0 commit comments

Comments
 (0)