diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/ETLServiceTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/ETLServiceTest.java index 0f6c58b8c8682e6a70b9df7ae419977ade93a096..af15f07cdc3335f4f321641f93cb6aa0be7a766d 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/ETLServiceTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/ETLServiceTest.java @@ -1100,6 +1100,7 @@ public class ETLServiceTest extends AbstractServerTestCase List<SampleUpdatesDTO> sampleUpdateList = Arrays.asList(sampleUpdate); one(entityOperationChecker).assertSpaceSampleUpdateAllowed(SESSION, sampleUpdateList); + one(sampleTable).checkBeforeUpdate(sampleUpdateList); one(sampleTable).prepareForUpdateWithSampleUpdates(sampleUpdateList); one(sampleTable).save(); @@ -1147,6 +1148,7 @@ public class ETLServiceTest extends AbstractServerTestCase one(entityOperationChecker).assertDataSetUpdateAllowed(SESSION, Arrays.asList(dataSetUpdate)); + one(dataSetTable).checkBeforeUpdate(Arrays.asList(dataSetUpdate)); one(dataSetTable).update(Arrays.asList(dataSetUpdate)); one(dataSetTable).save(); }