Skip to content
Snippets Groups Projects
Commit 2bbb3917 authored by pkupczyk's avatar pkupczyk
Browse files

SP-133 / BIS-41 : Improve Optimistic Locking - junit fix

SVN: 25960
parent 4cea59ab
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
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