mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 23:36:01 +01:00
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -71,7 +71,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 302
|
||||
assert_response 401
|
||||
set_tmp_attachments_directory
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user