Skip to content

Commit

Permalink
Fix IdentityProviderEndpointsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianhoelzl-sap committed Feb 20, 2024
1 parent fdc777d commit 5391690
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ class IdentityProviderEndpointsTest {
void setup() {
lenient().when(mockIdentityZoneManager.getCurrentIdentityZoneId()).thenReturn(IdentityZone.getUaaZoneId());
arrangeAliasEntitiesEnabled(true);

lenient().when(mockIdpAliasHandler.aliasPropertiesAreValid(any(), any()))
.thenReturn(true);
lenient().when(mockIdpAliasHandler.ensureConsistencyOfAliasEntity(any(), any()))
.then(invocationOnMock -> invocationOnMock.getArgument(0));
}

IdentityProvider<AbstractExternalOAuthIdentityProviderDefinition> getExternalOAuthProvider() {
Expand Down

0 comments on commit 5391690

Please sign in to comment.