Skip to content
Snippets Groups Projects
Commit 1d79047b authored by Piotr Gawron's avatar Piotr Gawron
Browse files

non eed for exclusion - we run on clean db

parent 10974f7c
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!386Resolve "Continous integration tests"
......@@ -23,7 +23,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import lcsb.mapviewer.annotation.AnnotationTestFunctions;
import lcsb.mapviewer.annotation.cache.GeneralCacheInterface;
import lcsb.mapviewer.annotation.cache.GeneralCacheWithExclusion;
import lcsb.mapviewer.annotation.cache.SourceNotAvailable;
import lcsb.mapviewer.annotation.data.MiRNA;
import lcsb.mapviewer.annotation.data.Target;
......@@ -135,9 +134,6 @@ public class MiRNAParserTest extends AnnotationTestFunctions {
@Test
public void testFindByTarget() throws Exception {
GeneralCacheInterface cache = miRNAParser.getCache();
// exclude first cached value
miRNAParser.setCache(new GeneralCacheWithExclusion(cache, 1));
try {
Set<MiriamData> targets = new HashSet<MiriamData>();
MiriamData hgncTarget = new MiriamData(MiriamType.HGNC_SYMBOL, "PLAG1");
......@@ -156,8 +152,6 @@ public class MiRNAParserTest extends AnnotationTestFunctions {
} catch (Exception e) {
e.printStackTrace();
throw e;
} finally {
miRNAParser.setCache(cache);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment