Project

General

Profile

« Previous | Next » 

Revision 2da76eb1

Added by Andreas Müller over 3 years ago

ref #9349 fix test for nomenclaturalStatus in name cloning

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/model/name/TaxonNameTest.java
697 697
		assertSame("The type of the nomStatus needs to be the same", nomStatus.getType(), cloneStatus.getType());
698 698
		assertSame("The citation of the nomStatus needs to be the same", nomStatus.getCitation(), cloneStatus.getCitation());
699 699
		assertSame("The rule considered of the nomStatus needs to be the same", nomStatus.getRuleConsidered(), cloneStatus.getRuleConsidered());
700
		//DISCUSS: do we want to reuse the status
701
		assertSame("The nomStatus needs to be the same", nomStatus, cloneStatus);
702

  
700
		assertNotSame("The nomStatus should be cloned as it is orphan removal", nomStatus, cloneStatus);
703 701

  
704 702
//		//hybrid parents of clone
705 703
//		assertEquals("There should be exactly 2 hybrid relationships in which the clone takes the child role", 2, clone.getChildRelationships().size());

Also available in: Unified diff