From 616f6dd5861e09a3e5db6c7b4fc5ce6192bb9d9d Mon Sep 17 00:00:00 2001 From: HazelGrant Date: Wed, 18 Dec 2024 08:56:36 -0500 Subject: [PATCH] ... --- apps/dashboard/app/controllers/files_controller.rb | 2 -- apps/dashboard/test/system/remote_files_test.rb | 2 -- 2 files changed, 4 deletions(-) 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