Project

General

Profile

« Previous | Next » 

Revision 2720ea2c

Added by Andreas Müller over 3 years ago

cleanup

View differences:

cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/owl/out/OwlExportTest.java
22 22
import org.unitils.spring.annotation.SpringBeanByType;
23 23

  
24 24
import eu.etaxonomy.cdm.api.service.IClassificationService;
25
import eu.etaxonomy.cdm.api.service.IFeatureTreeService;
26 25
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
26
import eu.etaxonomy.cdm.api.service.ITermTreeService;
27
import eu.etaxonomy.cdm.common.URI;
27 28
import eu.etaxonomy.cdm.io.common.CdmApplicationAwareDefaultExport;
28 29
import eu.etaxonomy.cdm.io.common.ExportDataWrapper;
29 30
import eu.etaxonomy.cdm.io.common.ExportResult;
......
53 54
    private IClassificationService classificationService;
54 55

  
55 56
    @SpringBeanByType
56
    private IFeatureTreeService featureTreeService;
57
    private ITermTreeService termTreeService;
57 58

  
58 59
    @SpringBeanByType
59 60
    private ITaxonNodeService taxonNodeService;
......
102 103
        voc.addTerm(featureC);
103 104
        TermNode<Feature> nodeC = tree.getRoot().addChild(featureC);
104 105

  
105
        featureTreeService.save(tree);
106
        termTreeService.save(tree);
106 107
        return Collections.singletonList(tree.getUuid());
107 108
    }
108 109

  

Also available in: Unified diff