diff --git a/apps/dashboard/app/controllers/files_controller.rb b/apps/dashboard/app/controllers/files_controller.rb index f4fcf9b4f..6ca353252 100644 --- a/apps/dashboard/app/controllers/files_controller.rb +++ b/apps/dashboard/app/controllers/files_controller.rb @@ -156,8 +156,6 @@ def upload request.env[Rack::RACK_TEMPFILES].reject! { |f| f.path == params[:file].tempfile.path } unless posix_file? @transfer = @path.handle_upload(params[:file].tempfile) - - puts params if @transfer.kind_of?(Transfer) render 'transfers/show' diff --git a/apps/dashboard/test/system/remote_files_test.rb b/apps/dashboard/test/system/remote_files_test.rb index f41fb4a33..399021af7 100644 --- a/apps/dashboard/test/system/remote_files_test.rb +++ b/apps/dashboard/test/system/remote_files_test.rb @@ -318,8 +318,6 @@ def setup src_file = 'test/fixtures/files/upload/hello-world.c' attach_file 'files[]', src_file, visible: false, match: :first find('.uppy-StatusBar-actionBtn--upload', wait: MAX_WAIT).click - - sleep 1 find('tbody a', exact_text: File.basename(src_file), wait: MAX_WAIT) end end