Project

General

Profile

« Previous | Next » 

Revision 2b772077

Added by Andreas Müller over 3 years ago

ref #4770 fix handling nomenclatural title for convertPerson2Team

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/AgentServiceImplTest.java
86 86
			Assert.fail("No Merge exception should be thrown");
87 87
		}
88 88
    	Assert.assertNotNull(team);
89
    	//Assert.assertEquals("Title cache must be equal", fullAuthor, team.getTitleCache());
90
    	//Assert.assertEquals("Nom. title must be equal", nomTitle, team.getNomenclaturalTitle());
89
    	Assert.assertEquals("Title cache must be equal", fullAuthor, team.getTitleCache());
90
    	Assert.assertEquals("Nom. title must be equal", nomTitle, team.getNomenclaturalTitle());
91
    	Assert.assertTrue("Members must be empty", team.getTeamMembers().isEmpty());
91 92
    	Assert.assertEquals("Annotations should be moved", 1, team.getAnnotations().size());
92 93
       	Assert.assertNotNull("Contact must be copied too", team.getContact());
93 94
    	Assert.assertEquals("Team must be combination author now", team, name.getCombinationAuthorship());

Also available in: Unified diff