From: Andreas Müller Date: Thu, 7 Jun 2018 05:54:38 +0000 (+0200) Subject: ref #3560 fix test in TaxEditor for findMatchingXXX X-Git-Tag: 5.1.0^2~112 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/160717a976a5161e02d9feb0da097f83a9df7fd0 ref #3560 fix test in TaxEditor for findMatchingXXX --- diff --git a/eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/operation/TaxonNameEditorTest.java b/eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/operation/TaxonNameEditorTest.java index e9709e182..abe67c317 100644 --- a/eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/operation/TaxonNameEditorTest.java +++ b/eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/operation/TaxonNameEditorTest.java @@ -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"));