summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/attachments_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/api_test/attachments_test.rb')
-rw-r--r--test/integration/api_test/attachments_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/attachments_test.rb b/test/integration/api_test/attachments_test.rb
index 9bb079c3d..524399bdc 100644
--- a/test/integration/api_test/attachments_test.rb
+++ b/test/integration/api_test/attachments_test.rb
@@ -63,7 +63,7 @@ class Redmine::ApiTest::AttachmentsTest < Redmine::ApiTest::Base
test "GET /attachments/download/:id/:filename should deny access without credentials" do
get '/attachments/download/7/archive.zip'
- assert_response :unauthorized
+ assert_response :redirect
end
test "GET /attachments/thumbnail/:id should return the thumbnail" do