ref #3560 fix test in TaxEditor for findMatchingXXX
authorAndreas Müller <a.mueller@bgbm.org>
Thu, 7 Jun 2018 05:54:38 +0000 (07:54 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Thu, 7 Jun 2018 05:54:38 +0000 (07:54 +0200)
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/operation/TaxonNameEditorTest.java

index e9709e182342be0b0db0fa22b4f644951c874472..abe67c3172df74fae92e45bc379432398328ccf9 100644 (file)
@@ -149,8 +149,8 @@ public class TaxonNameEditorTest extends BaseOperationTest {
         operation.execute(monitor, info);
         taxonNodeService.merge(taxonNode);
 
-
-        Synonym syn = taxonService.findBestMatchingSynonym("New Synonym");
+        boolean includeUnpublished = true;
+        Synonym syn = taxonService.findBestMatchingSynonym("New Synonym", includeUnpublished);
 
         if (syn != null){
            syn.addAnnotation(Annotation.NewDefaultLanguageInstance("TEst"));