about summary refs log tree commit diff
path: root/spec/controllers/settings
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2023-03-25 10:00:03 +0100
committerGitHub <noreply@github.com>2023-03-25 10:00:03 +0100
commit9bda93374093c738f1007922b2e8df58043c718f (patch)
tree8646507dbbf1cbc515912a047363c56e1bf16cd2 /spec/controllers/settings
parentef127c964a60f365129bc97a2cb2fc6d12ba6407 (diff)
Change media upload limits and remove client-side resizing (#23726)
Diffstat (limited to 'spec/controllers/settings')
-rw-r--r--spec/controllers/settings/profiles_controller_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/controllers/settings/profiles_controller_spec.rb b/spec/controllers/settings/profiles_controller_spec.rb
index e45596b1a..563e60271 100644
--- a/spec/controllers/settings/profiles_controller_spec.rb
+++ b/spec/controllers/settings/profiles_controller_spec.rb
@@ -44,12 +44,4 @@ RSpec.describe Settings::ProfilesController, type: :controller do
       expect(ActivityPub::UpdateDistributionWorker).to have_received(:perform_async).with(account.id)
     end
   end
-
-  describe 'PUT #update with oversized image' do
-    it 'gives the user an error message' do
-      allow(ActivityPub::UpdateDistributionWorker).to receive(:perform_async)
-      put :update, params: { account: { avatar: fixture_file_upload('4096x4097.png', 'image/png') } }
-      expect(response.body).to include('images are not supported')
-    end
-  end
 end