diff options
author | Go MAEDA <maeda@farend.jp> | 2019-04-30 02:03:40 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-04-30 02:03:40 +0000 |
commit | 3bccfe82271930f3e68cc826c9dee32e1b608ae3 (patch) | |
tree | 373e52b3803c5df19806c78059c6cdc406f4b5c8 /test/functional/attachments_controller_test.rb | |
parent | 6732ce9a93fcbd941d26579f6004e038544d5707 (diff) | |
download | redmine-3bccfe82271930f3e68cc826c9dee32e1b608ae3.tar.gz redmine-3bccfe82271930f3e68cc826c9dee32e1b608ae3.zip |
Correct the fixture id (#31275).
git-svn-id: http://svn.redmine.org/redmine/trunk@18099 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/attachments_controller_test.rb')
-rw-r--r-- | test/functional/attachments_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index 8ef46013c..af5421ecc 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -360,10 +360,10 @@ class AttachmentsControllerTest < Redmine::ControllerTest def test_download_should_assign_application_octet_stream_if_content_type_is_not_determined get :download, :params => { - :id => 23 + :id => 22 } assert_response :success - assert_nil Redmine::MimeType.of(attachments(:attachments_023).filename) + assert_nil Redmine::MimeType.of(attachments(:attachments_022).filename) assert_equal 'application/octet-stream', @response.content_type set_tmp_attachments_directory end |