Merged r23581, r23582 and r23583 from trunk to 5.1-stable (#42394).

git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23585 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2025-03-29 13:52:41 +00:00
parent 1479b01e49
commit d98b65804b
4 changed files with 13 additions and 3 deletions

View File

@@ -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 401
assert_response 302
end
test "GET /attachments/thumbnail/:id should return the thumbnail" do