Issue: Ticket: User Management

It seems user_id “gryffindor@hogwarts.edu” is already in the collection, and hence creating document with same value is not possible(this field is unique indexed).

Hi @Manish_75171

I’m not quite sure if this is a question or a problem, could you clarify this ?
In the context of that specific email address, it is used as the default email address in UserTest.java which should clean itself up (deleting this document) as part of the testing teardown stage.

Kindest regards,
Eoin

Hi @Manish_75171

I am also not clear about your questions but I guess you can get help from testUpsertDocument() method.

Thanks,
JD