Revision 652496d7
Added by Andreas Müller almost 6 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/session/CdmEntitySessionAwareTest.java | ||
---|---|---|
526 | 526 |
public void updatePerson() { |
527 | 527 |
// Test for #5138 |
528 | 528 |
Person person = (Person) CdmApplicationState.getCurrentAppConfig().getAgentService().load(personUuid); |
529 |
person.setFirstname("Me");
|
|
529 |
person.setGivenName("Me");
|
|
530 | 530 |
CdmApplicationState.getCurrentAppConfig().getAgentService().merge(person, true); |
531 | 531 |
} |
532 | 532 |
|
... | ... | |
537 | 537 |
Person person = Person.NewInstance(); |
538 | 538 |
person = (Person) CdmApplicationState.getCurrentAppConfig().getAgentService().merge(person); |
539 | 539 |
person = (Person) CdmApplicationState.getCurrentAppConfig().getAgentService().load(person.getUuid()); |
540 |
person.setFirstname("Some");
|
|
540 |
person.setGivenName("Some");
|
|
541 | 541 |
CdmApplicationState.getCurrentAppConfig().getAgentService().merge(person, true); |
542 | 542 |
} |
543 | 543 |
|
Also available in: Unified diff
replace all occurrences of workingSet by descriptiveDataSet and fix some other compile errors after model change