Project

General

Profile

« Previous | Next » 

Revision 07c3eb13

Added by Katja Luther over 8 years ago

fix delete of specimen with specimenDescriptions

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/TaxonNodeServiceImplTest.java
518 518
	@Test
519 519
	@DataSet
520 520
	public void testMoveTaxonNode(){
521
	    classification = classificationService.load(classificationUuid);
522
	  //  Set<TaxonNode>  nodes = classification.getAllNodes();
523
	    List<TaxonNode>  nodes = classification.getChildNodes();
524
	    System.out.println(nodes.size());
525
	    classification.addChildTaxon(Taxon.NewInstance(BotanicalName.NewInstance(Rank.SPECIES()), null), nodes.size(), null, null);
526
	   nodes =  classification.getChildNodes();
527
	    System.out.println(nodes.size());
521 528

  
522 529
	}
523 530

  

Also available in: Unified diff