ref #9340, #9734, #9668: further improvements for configurable sec handling during...
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / src / test / java / eu / etaxonomy / taxeditor / navigation / navigator / operation / MoveTaxonOperationTest.java
index 637f5288a59f9877f535165ad087a3c7cde4de4a..77deae0331ecef77a40f932c0952e598bd2ba3a3 100644 (file)
@@ -17,6 +17,7 @@ import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
+import eu.etaxonomy.cdm.model.metadata.SecReferenceHandlingEnum;
 import eu.etaxonomy.cdm.model.taxon.Classification;
 import eu.etaxonomy.cdm.model.taxon.Taxon;
 import eu.etaxonomy.cdm.model.taxon.TaxonNode;
@@ -56,7 +57,7 @@ public class MoveTaxonOperationTest extends AbstractTaxeditorOperationTestBase {
                Set<UUID> taxonNodeUuidSet = new HashSet<>();
                //TODO ??
                taxonNodeUuidSet.add(taxonNode.getUuid());
-               navigatorOperation = new MoveTaxonOperation(null, true, taxonNodeUuidSet, newParentTaxonNode.getUuid(),  MovingType.CHILD);
+               navigatorOperation = new MoveTaxonOperation(null, true, taxonNodeUuidSet, newParentTaxonNode.getUuid(),  MovingType.CHILD, SecReferenceHandlingEnum.KeepOrWarn, null);
        }
 
        /**