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

git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23584 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2025-03-29 13:48:29 +00:00
parent d28ddec772
commit 4d8a2df55f
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 :unauthorized
assert_response :redirect
end
test "GET /attachments/thumbnail/:id should return the thumbnail" do