Project

General

Profile

« Previous | Next » 

Revision 160717a9

Added by Andreas Müller almost 6 years ago

ref #3560 fix test in TaxEditor for findMatchingXXX

View differences:

eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/operation/TaxonNameEditorTest.java
149 149
        operation.execute(monitor, info);
150 150
        taxonNodeService.merge(taxonNode);
151 151

  
152

  
153
        Synonym syn = taxonService.findBestMatchingSynonym("New Synonym");
152
        boolean includeUnpublished = true;
153
        Synonym syn = taxonService.findBestMatchingSynonym("New Synonym", includeUnpublished);
154 154

  
155 155
        if (syn != null){
156 156
           syn.addAnnotation(Annotation.NewDefaultLanguageInstance("TEst"));

Also available in: Unified diff