Skip to content

Commit

Permalink
SRCH-2387 Reduce bulk upload maximum size (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmax-fearless committed Jul 29, 2021
1 parent 82f0782 commit be8251c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/bulk_url_uploader.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

class BulkUrlUploader
MAXIMUM_FILE_SIZE = 10.megabytes
MAXIMUM_FILE_SIZE = 4.megabytes
VALID_CONTENT_TYPES = %w[text/plain].freeze

attr_reader :results
Expand Down
2 changes: 1 addition & 1 deletion features/bulk-upload.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Bulk Search.gov URL Upload
Given I am logged in with email "affiliate_admin@fixtures.org"
When I go to the bulk url upload admin page
Then I should see "Bulk URL Upload"
And I should see "The maximum file size is 10 MB"
And I should see "The maximum file size is 4 MB"

When I attach the file "features/support/bulk_upload_urls.txt" to "bulk_upload_urls"
And I press "Upload"
Expand Down

0 comments on commit be8251c

Please sign in to comment.