mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01:00
Update tests assertions after r23581 (#42394).
git-svn-id: https://svn.redmine.org/redmine/trunk@23582 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user