Project

General

Profile

« Previous | Next » 

Revision 1925e9f2

Added by Andreas Müller over 7 years ago

ref #5974 Fix synonymRelationship issues in vaadin

View differences:

src/test/java/eu/etaxonomy/cdm/vaadin/presenter/NewTaxonBasePresenterTest.java
41 41
@DataSet
42 42
public class NewTaxonBasePresenterTest extends CdmVaadinBaseTest {
43 43

  
44
    @SuppressWarnings("unused")
44 45
    private static final Logger logger = Logger.getLogger(NewTaxonBasePresenterTest.class);
45 46

  
46 47
    private static NewTaxonBasePresenter ntbp;
......
52 53

  
53 54

  
54 55
    @Test
55
    public void testNewTaxonBase() throws SQLException {
56
    public void testNewTaxonBase(){
56 57
        RowId refId20 = new RowId(20);
57 58
        RowId refId21 = new RowId(21);
58 59
        UUID newTaxonUuid = ntbp.newTaxon("Taxon  h", refId20, UUID.fromString("6595638e-4993-421a-9fe5-76b09d94f36a")).getUuid();
59 60
        List<String> ACC_TAXON_INIT_STRATEGY = Arrays.asList(new String []{
60 61
                "sec",
61
                "synonymRelations"
62
                "synonyms"
62 63
        });
63 64
        Taxon taxon = CdmBase.deproxy(CdmSpringContextHelper.getTaxonService().load(newTaxonUuid,ACC_TAXON_INIT_STRATEGY),Taxon.class);
64 65

  

Also available in: Unified diff