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

project id must be set set due to caching

parent d3f565bf
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"
......@@ -742,6 +742,7 @@ public class DrugbankHTMLParserTest extends AnnotationTestFunctions {
public void testGetSuggestedQueryList() throws Exception {
try {
Project project = new Project();
project.setId(-1);
Model model = getModelForFile("testFiles/target_drugbank/target.xml", false);
project.addModel(model);
......@@ -760,6 +761,7 @@ public class DrugbankHTMLParserTest extends AnnotationTestFunctions {
public void testGetSuggestedQueryListForUnknownOrganism() throws Exception {
try {
Project project = new Project();
project.setId(-2);
Model model = getModelForFile("testFiles/target_drugbank/target.xml", false);
project.addModel(model);
......
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