Project

General

Profile

Revision 40a73ef7

ID40a73ef7bc16bfc4c80ad850ee5d8ae90a34ccf6
Parent 08183f99
Child 5d2a77b2

Added by Andreas Müller over 2 years ago

ref #7874 fix incorrect nomTitle test

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/AgentServiceImplTest.java
228 228
        ehrenberg = (Person)service.load(UUID_EHRENBERG);
229 229

  
230 230
        assertEquals("Expecting nomenclaturalTitle to be set since it was NULL", "Turland, N.J.", nomenclaturalTitleField.get(turland));
231
        assertEquals("Expecting nomenclaturalTitle to be set since it was NULL", "Ehrenberg, C.G.", nomenclaturalTitleField.get(ehrenberg));
231
        assertEquals("Expecting nomenclaturalTitle to be set since it was NULL", "Ehrenb.", nomenclaturalTitleField.get(ehrenberg));
232 232
        assertEquals("Expecting titleChache to be unchaged since it was protecetd", "Ehrenb.", ehrenberg.getTitleCache());
233 233
        assertEquals("Expecting nomenclaturalTitle to be unchanged", "A.M. Monro", nomenclaturalTitleField.get(monro).toString());
234 234

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)