Skip to content
Snippets Groups Projects

fix(IT): do not try to send contributor update messages for Permanent test users

Merged Nicolas.Rod requested to merge rodn-fix-regression-on-it into master
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -109,7 +109,10 @@ public class PersonService extends AouResourceService<Person> implements PersonW
Person savedPerson = super.save(person);
this.storeOrcidInContributor(person);
this.sendContributorUpdateMessages(person.getResId());
if (!person.getLastName().contains(AouConstants.PERMANENT_TEST_DATA_LABEL)) {
this.sendContributorUpdateMessages(person.getResId());
}
return savedPerson;
}
Loading