File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/test/java/fr/insee/genesis/domain/service/rawdata Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -281,8 +281,7 @@ private void processRawResponses_given_invalid_validation_date(){
281281 private List <SurveyUnitModel > whenProcessByCollectionInstrumentIdAndInterrogationIdList () throws GenesisException {
282282 rawResponseService .processRawResponses (TestConstants .DEFAULT_COLLECTION_INSTRUMENT_ID );
283283 verify (surveyUnitService ).saveSurveyUnits (surveyUnitModelsCaptor .capture ());
284- List <SurveyUnitModel > createdModels = surveyUnitModelsCaptor .getValue ();
285- return createdModels ;
284+ return surveyUnitModelsCaptor .getValue ();
286285 }
287286 private List <SurveyUnitModel > whenProcessRawResponsesCollectionInstrumentId () throws GenesisException {
288287 rawResponseService .processRawResponses (
@@ -291,8 +290,7 @@ private List<SurveyUnitModel> whenProcessRawResponsesCollectionInstrumentId() th
291290 new ArrayList <>()
292291 );
293292 verify (surveyUnitService ).saveSurveyUnits (surveyUnitModelsCaptor .capture ());
294- List <SurveyUnitModel > createdModels = surveyUnitModelsCaptor .getValue ();
295- return createdModels ;
293+ return surveyUnitModelsCaptor .getValue ();
296294 }
297295
298296 //THENS
You can’t perform that action at this time.
0 commit comments