bug_7613: OCLC Connexion gateway
[koha.git] / t / db_dependent / lib / KohaTest / ImportBatch.pm
index a8fefaa..743b1aa 100644 (file)
@@ -118,11 +118,7 @@ sub add_import_batch {
         file_name      => 'foo',
         comments       => 'inserted during automated testing',
       };
-    my $batch_id = AddImportBatch( $test_batch->{'overlay_action'},
-                                   $test_batch->{'import_status'},
-                                   $test_batch->{'batch_type'},
-                                   $test_batch->{'file_name'},
-                                   $test_batch->{'comments'}, );
+    my $batch_id = AddImportBatch( $test_batch );
     return $batch_id;
 }