1- use crate :: integration:: { copy_recursively, ServerBehavior , TestManager } ;
1+ use crate :: integration:: { copy_recursively, TestManager } ;
22use std:: fs:: { create_dir, remove_dir_all, write} ;
33
44#[ test]
@@ -16,7 +16,6 @@ fn command_bundle_jvm_out_not_found_creates_dir() {
1616 . unwrap ( ) ;
1717
1818 TestManager :: new ( )
19- . mock_common_upload_endpoints ( ServerBehavior :: Legacy , Default :: default ( ) )
2019 . register_trycmd_test (
2120 "debug_files/bundle_jvm/debug_files-bundle-jvm-output-not-found.trycmd" ,
2221 )
@@ -35,15 +34,13 @@ fn command_bundle_jvm_fails_out_is_file() {
3534 write ( testcase_cwd_path. join ( "file.txt" ) , "some file content" ) . unwrap ( ) ;
3635
3736 TestManager :: new ( )
38- . mock_common_upload_endpoints ( ServerBehavior :: Legacy , Default :: default ( ) )
3937 . register_trycmd_test ( "debug_files/bundle_jvm/debug_files-bundle-jvm-output-is-file.trycmd" )
4038 . with_default_token ( ) ;
4139}
4240
4341#[ test]
4442fn command_bundle_jvm_fails_input_not_found ( ) {
4543 TestManager :: new ( )
46- . mock_common_upload_endpoints ( ServerBehavior :: Legacy , Default :: default ( ) )
4744 . register_trycmd_test (
4845 "debug_files/bundle_jvm/debug_files-bundle-jvm-input-not-found.trycmd" ,
4946 )
@@ -53,7 +50,6 @@ fn command_bundle_jvm_fails_input_not_found() {
5350#[ test]
5451fn command_bundle_jvm_fails_input_is_file ( ) {
5552 TestManager :: new ( )
56- . mock_common_upload_endpoints ( ServerBehavior :: Legacy , Default :: default ( ) )
5753 . register_trycmd_test ( "debug_files/bundle_jvm/debug_files-bundle-jvm-input-is-file.trycmd" )
5854 . with_default_token ( ) ;
5955}
@@ -69,7 +65,6 @@ fn command_bundle_jvm_input_dir_empty() {
6965 copy_recursively ( "tests/integration/_fixtures/jvm/" , testcase_cwd_path) . unwrap ( ) ;
7066 create_dir ( testcase_cwd_path. join ( "empty-dir" ) ) . unwrap ( ) ;
7167 TestManager :: new ( )
72- . mock_common_upload_endpoints ( ServerBehavior :: Legacy , Default :: default ( ) )
7368 . register_trycmd_test (
7469 "debug_files/bundle_jvm/debug_files-bundle-jvm-input-dir-empty.trycmd" ,
7570 )
@@ -79,7 +74,6 @@ fn command_bundle_jvm_input_dir_empty() {
7974#[ test]
8075fn command_bundle_jvm_fails_invalid_uuid ( ) {
8176 TestManager :: new ( )
82- . mock_common_upload_endpoints ( ServerBehavior :: Legacy , Default :: default ( ) )
8377 . register_trycmd_test ( "debug_files/bundle_jvm/debug_files-bundle-jvm-invalid-uuid.trycmd" ) ;
8478}
8579
@@ -92,7 +86,6 @@ fn command_bundle_jvm() {
9286 }
9387 copy_recursively ( "tests/integration/_fixtures/jvm/" , testcase_cwd_path) . unwrap ( ) ;
9488 TestManager :: new ( )
95- . mock_common_upload_endpoints ( ServerBehavior :: Legacy , Default :: default ( ) )
9689 . register_trycmd_test ( "debug_files/bundle_jvm/debug_files-bundle-jvm.trycmd" )
9790 . with_default_token ( ) ;
9891}
0 commit comments