-
Notifications
You must be signed in to change notification settings - Fork 829
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Annotate Disabled tests with more information
Signed-off-by: Hongchol Sinn <[email protected]>
- Loading branch information
Showing
4 changed files
with
50 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -330,7 +330,7 @@ void authenticationContainsAmr() { | |
} | ||
|
||
@Test | ||
void test_external_groups_as_scopes() { | ||
void externalGroupsAsScopes() { | ||
providerDefinition.setGroupMappingMode(SamlIdentityProviderDefinition.ExternalGroupMappingMode.AS_SCOPES); | ||
providerDefinition.addAttributeMapping(GROUP_ATTRIBUTE_NAME, Arrays.asList("2ndgroups", "groups")); | ||
provider.setConfig(providerDefinition); | ||
|
@@ -346,7 +346,7 @@ void test_external_groups_as_scopes() { | |
} | ||
|
||
@Test | ||
void test_group_mapping() { | ||
void groupMapping() { | ||
providerDefinition.addAttributeMapping(GROUP_ATTRIBUTE_NAME, "groups"); | ||
provider.setConfig(providerDefinition); | ||
providerProvisioning.update(provider, identityZoneManager.getCurrentIdentityZone().getId()); | ||
|
@@ -359,7 +359,7 @@ void test_group_mapping() { | |
} | ||
|
||
@Test | ||
void test_non_string_attributes() { | ||
void nonStringAttributes() { | ||
providerDefinition.addAttributeMapping(USER_ATTRIBUTE_PREFIX + "XSURI", "XSURI"); | ||
providerDefinition.addAttributeMapping(USER_ATTRIBUTE_PREFIX + "XSAny", "XSAny"); | ||
providerDefinition.addAttributeMapping(USER_ATTRIBUTE_PREFIX + "XSQName", "XSQName"); | ||
|
@@ -438,8 +438,8 @@ void addExternalGroupsToAuthenticationWithWildcardWhitelist() { | |
} | ||
|
||
@Test | ||
@Disabled("SAML test doesn't compile") | ||
void update_invitedUser_whose_username_is_notEmail() throws Exception { | ||
@Disabled("SAML test doesn't compile: Invitations. Requires different response data") | ||
void updateInvitedUserWhoseUsernameIsNotEmail() throws Exception { | ||
ScimUser scimUser = getInvitedUser(); | ||
|
||
// SAMLCredential credential = getUserCredential("marissa-invited", "Marissa-invited", null, "[email protected]", null); | ||
|
@@ -455,8 +455,8 @@ void update_invitedUser_whose_username_is_notEmail() throws Exception { | |
} | ||
|
||
@Test | ||
@Disabled("SAML test doesn't compile") | ||
void invitedUser_authentication_whenAuthenticatedEmailDoesNotMatchInvitedEmail() | ||
@Disabled("SAML test doesn't compile: Invitations. Requires different response data") | ||
void invitedUserAuthenticationWhenAuthenticatedEmailDoesNotMatchInvitedEmail() | ||
throws Exception { | ||
Map<String, Object> attributeMappings = new HashMap<>(); | ||
attributeMappings.put("email", "emailAddress"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.