Skip to content
Snippets Groups Projects
Commit f8ae76eb authored by juanf's avatar juanf
Browse files

Revert "SSDM-13207 : Fixing tests"

This reverts commit 4109123c.
parent 463e124f
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
package ch.systemsx.cisd.openbis.plugin.screening.server; package ch.systemsx.cisd.openbis.plugin.screening.server;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.Collections;
import java.util.List;
import org.jmock.Expectations; import org.jmock.Expectations;
import org.testng.annotations.AfterMethod; import org.testng.annotations.AfterMethod;
...@@ -115,8 +113,6 @@ public class ScreeningServerTest extends AbstractServerTestCase ...@@ -115,8 +113,6 @@ public class ScreeningServerTest extends AbstractServerTestCase
one(sampleBO).loadBySamplePermId(PERM_ID); one(sampleBO).loadBySamplePermId(PERM_ID);
one(sampleBO).getSample(); one(sampleBO).getSample();
will(returnValue(exampleSample)); will(returnValue(exampleSample));
one(sampleRelationshipDAO).listSampleParents(List.of(exampleSample.getId()));
will(returnValue(List.of()));
} }
}); });
...@@ -147,8 +143,6 @@ public class ScreeningServerTest extends AbstractServerTestCase ...@@ -147,8 +143,6 @@ public class ScreeningServerTest extends AbstractServerTestCase
SampleIdentifierFactory.parse(SAMPLE_IDENTIFIER)); SampleIdentifierFactory.parse(SAMPLE_IDENTIFIER));
one(sampleBO).getSample(); one(sampleBO).getSample();
will(returnValue(exampleSample)); will(returnValue(exampleSample));
one(sampleRelationshipDAO).listSampleParents(List.of(exampleSample.getId()));
will(returnValue(List.of()));
} }
}); });
......
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