ilgrosso commented on PR #1141:
URL: https://github.com/apache/syncope/pull/1141#issuecomment-3113494925

   > > @alberto-bogi I am also seeing
   > > ```
   > > SAML2SP4UIITCase>AbstractUIITCase.passwordManagementEnduser:176 ยป 
SyncopeClient EntityExists [A violation of the constraint imposed by a unique 
index or a unique constraint occurred]
   > > ```
   > 
   > I''m seeing that. I create a user with username `mustChangePassword` 
before executing `passwordManagement` method, and i delete this after. This in 
method `passwordManagementConsole` and `passwordManagementEnduser`. What am I 
doing wrong?
   
   First, you should always delete the objects created by a test method in a 
`finally` block so that they gets deleted anyway.
   
   Second, you might want to create unique users by appending random suffixes 
so that such users will not break any unique constraint.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to