Project

General

Profile

« Previous | Next » 

Revision 79b2f591

Added by Andreas Müller almost 9 years ago

Fix updateSortindex test for TaxonNode javassist objects

View differences:

cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonNodeDaoHibernateImplTest.java
213 213
    	Assert.assertTrue("Parent node must be proxy, otherwise test does not work", parent instanceof Proxy);
214 214
    	Taxon newTaxon = Taxon.NewInstance(null, null);
215 215
    	Classification classification = classificationDao.findByUuid(ClassificationUuid);
216
    	classification.addChildTaxon(newTaxon, 0, null, null);
216
    	TaxonNode newNode = classification.addChildTaxon(newTaxon, 0, null, null);
217
    	newNode.setUuid(UUID.fromString("58728644-1155-4520-98f7-309fdb62abd7"));
217 218
    	commitAndStartNewTransaction( new String[]{"TaxonNode"});
218 219
    }
219 220

  

Also available in: Unified diff