Skip to content

Commit 29c2bd3

Browse files
Tanishka JainTanishka Jain
authored andcommitted
sp
1 parent 993f314 commit 29c2bd3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

server/src/test/java/org/cloudfoundry/identity/uaa/authentication/listener/AuthenticationSuccessListenerTests.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ void provider_authentication_success_triggers_user_authentication_success() {
103103
IdentityProviderAuthenticationSuccessEvent event = new IdentityProviderAuthenticationSuccessEvent(
104104
user,
105105
mockUaaAuthentication,
106-
OriginKeys.UAA, IdentityZoneHolder.getCurrentZoneId());
106+
OriginKeys.UAA, IdentityZoneHolder.getCurrentZoneId()
107+
);
107108
listener.onApplicationEvent(event);
108109
verify(mockApplicationEventPublisher, times(1)).publishEvent(isA(UserAuthenticationSuccessEvent.class));
109110
}
@@ -114,7 +115,8 @@ void provider_authentication_success_does_not_trigger_user_authentication_succes
114115
IdentityProviderAuthenticationSuccessEvent event = new IdentityProviderAuthenticationSuccessEvent(
115116
user,
116117
mockUaaAuthentication,
117-
OriginKeys.UAA, IdentityZoneHolder.getCurrentZoneId());
118+
OriginKeys.UAA, IdentityZoneHolder.getCurrentZoneId()
119+
);
118120
listener.onApplicationEvent(event);
119121
verifyNoInteractions(mockApplicationEventPublisher);
120122
}
@@ -124,7 +126,8 @@ void mfa_authentication_success_triggers_user_authentication_success() {
124126
MfaAuthenticationSuccessEvent event = new MfaAuthenticationSuccessEvent(
125127
user,
126128
mockUaaAuthentication,
127-
"mfa-type", IdentityZoneHolder.getCurrentZoneId());
129+
"mfa-type", IdentityZoneHolder.getCurrentZoneId()
130+
);
128131
listener.onApplicationEvent(event);
129132
verify(mockApplicationEventPublisher, times(1)).publishEvent(isA(UserAuthenticationSuccessEvent.class));
130133
}

0 commit comments

Comments
 (0)