fix test
authorKatja Luther <k.luther@bgbm.org>
Thu, 20 Oct 2016 10:56:11 +0000 (12:56 +0200)
committerKatja Luther <k.luther@bgbm.org>
Thu, 20 Oct 2016 10:56:11 +0000 (12:56 +0200)
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/operation/TaxonNameEditorTest.java

index 77fc90f0c62a1d8358dcab51a69af5e7df339fc6..24654ca8343e46210118b125a5ab00b704624dc0 100644 (file)
@@ -193,7 +193,7 @@ public class TaxonNameEditorTest extends BaseOperationTest {
         Taxon grandChildTaxon = Taxon.NewInstance(null, null);
         TaxonNode grandChildTaxonNode = childTaxonNode.addChildTaxon(grandChildTaxon, null, null);
 
-        CdmStore.getService(ITaxonNodeService.class).merge(taxonNode,true);
+        CdmStore.getService(ITaxonNodeService.class).merge(grandChildTaxonNode,true);
 
         Assert.assertEquals(taxonNode.getChildNodes().get(0).getId(), childTaxonNode.getId());