@@ -150,11 +150,10 @@ describe('ExportBatchSelectorComponent', () => {
150150 done ( ) ;
151151 } ) ;
152152 } ) ;
153- it ( 'should invoke the batch-export script with option --id uuid and -a option' , ( ) => {
153+ it ( 'should invoke the batch-export script with option --id uuid option' , ( ) => {
154154 const parameterValues : ProcessParameter [ ] = [
155155 Object . assign ( new ProcessParameter ( ) , { name : '--id' , value : mockCollection . uuid } ) ,
156156 Object . assign ( new ProcessParameter ( ) , { name : '--type' , value : 'COLLECTION' } ) ,
157- Object . assign ( new ProcessParameter ( ) , { name : '-a' } ) ,
158157 ] ;
159158 expect ( scriptService . invoke ) . toHaveBeenCalledWith ( BATCH_EXPORT_SCRIPT_NAME , parameterValues , [ ] ) ;
160159 } ) ;
@@ -176,7 +175,7 @@ describe('ExportBatchSelectorComponent', () => {
176175 done ( ) ;
177176 } ) ;
178177 } ) ;
179- it ( 'should invoke the Batch-export script with option --id uuid without the -a option' , ( ) => {
178+ it ( 'should invoke the Batch-export script with option --id uuid without option' , ( ) => {
180179 const parameterValues : ProcessParameter [ ] = [
181180 Object . assign ( new ProcessParameter ( ) , { name : '--id' , value : mockCollection . uuid } ) ,
182181 Object . assign ( new ProcessParameter ( ) , { name : '--type' , value : 'COLLECTION' } )
0 commit comments