From fbf4a08c1478aab478698dcf16b76e43cacc1aa0 Mon Sep 17 00:00:00 2001
From: jakubs <jakubs>
Date: Fri, 8 Jun 2012 10:02:24 +0000
Subject: [PATCH] BIS-21 SP-106 entity operations return enum instead of
 boolean

SVN: 25607
---
 .../server/dropbox/JythonScreeningDropboxRecoveryTest.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/dropbox/JythonScreeningDropboxRecoveryTest.java b/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/dropbox/JythonScreeningDropboxRecoveryTest.java
index 7f0ac21f29b..afa7aa997dc 100644
--- a/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/dropbox/JythonScreeningDropboxRecoveryTest.java
+++ b/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/dropbox/JythonScreeningDropboxRecoveryTest.java
@@ -39,6 +39,7 @@ import ch.systemsx.cisd.etlserver.registrator.TestingDataSetHandlerExpectations;
 import ch.systemsx.cisd.etlserver.registrator.recovery.DataSetStorageRecoveryInfo;
 import ch.systemsx.cisd.openbis.dss.etl.jython.v2.JythonPlateDataSetHandlerV2;
 import ch.systemsx.cisd.openbis.dss.generic.shared.utils.DatasetLocationUtil;
+import ch.systemsx.cisd.openbis.generic.shared.basic.EntityOperationsState;
 import ch.systemsx.cisd.openbis.generic.shared.basic.TechId;
 import ch.systemsx.cisd.openbis.generic.shared.basic.dto.DataSetType;
 import ch.systemsx.cisd.openbis.generic.shared.basic.dto.Experiment;
@@ -275,7 +276,7 @@ public class JythonScreeningDropboxRecoveryTest extends AbstractJythonDataSetHan
             registerDataSetsAndThrow(true);
 
             one(openBisService).didEntityOperationsSucceed(with(any(TechId.class)));
-            will(returnValue(true));
+            will(returnValue(EntityOperationsState.OPERATION_SUCCEEDED));
 
             // the recovery should happen here
 
-- 
GitLab