Database has duplicate contacts in Integration tests
The db doesn't check if a contact with the same id already exists when adding a contact. The way we're using this in integration tests at the moment, it leads to duplicate contacts in the db. Possible solutions are cleaning up properly in a @AfterEach
, clearing the database, or checking for duplicates during addContact()
.