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

Merge branch 'rest-unit-tests-fails' into 'master'

unit test mutated cached data, but shouldn't

See merge request !509
parents dd6006be bf128cf2
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",!509unit test mutated cached data, but shouldn't
Pipeline #7513 failed
...@@ -178,7 +178,7 @@ public class ElementRestImplTest extends RestTestFunctions { ...@@ -178,7 +178,7 @@ public class ElementRestImplTest extends RestTestFunctions {
} }
private ElementsRestImpl createMockElementRest(String string, Boolean annotate) throws Exception { private ElementsRestImpl createMockElementRest(String string, Boolean annotate) throws Exception {
Model model = super.getModelForFile(string, true); Model model = super.getModelForFile(string, !annotate);
if (annotate) { if (annotate) {
try { try {
Protein protein = new GenericProtein("SNCA"); Protein protein = new GenericProtein("SNCA");
......
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