Project

General

Profile

Revision f26bf544

IDf26bf544590f0000407338ef686f73037ba82a09
Parent 96377298
Child c38ba443

Added by Andreas Müller over 3 years ago

revert tests

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/dto/FindByMarkerDTO.java
13 13

  
14 14
import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
15 15
import eu.etaxonomy.cdm.model.common.MarkerType;
16
import eu.etaxonomy.cdm.model.taxon.Taxon;
17 16

  
18 17
/**
19 18
 * DTO for IdentifiableEntities matching a certain marker.
......
45 44
		public CdmEntity(UUID cdmUuid, String titleCache, T entity) {
46 45
			this.cdmUuid = cdmUuid;
47 46
			this.titleCache = titleCache;
48
			this.entity = (T)new Taxon();
47
			this.entity = entity;
49 48

  
50 49
		}
51 50
		public UUID getCdmUuid() {return cdmUuid;}
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/IdentifiableServiceBaseTest.java
14 14

  
15 15
import org.apache.log4j.Logger;
16 16
import org.junit.Assert;
17
import org.junit.Ignore;
18 17
import org.junit.Test;
19 18
import org.unitils.database.annotations.Transactional;
20 19
import org.unitils.database.util.TransactionMode;
......
196 195

  
197 196
	}
198 197

  
199
    @Ignore
200 198
	@Test
201 199
    @DataSet(value="IdentifiableServiceBaseTest.testFindByIdentifierOrMarker.xml")
202 200
    public final void testFindByMarker(){

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)