mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 15:26:03 +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:
@@ -63,9 +63,9 @@ class ApplicationTest < Redmine::IntegrationTest
|
||||
assert_nil session[:user_id]
|
||||
end
|
||||
|
||||
def test_missing_template_should_respond_with_404
|
||||
def test_missing_template_should_respond_with_4xx
|
||||
get '/login.png'
|
||||
assert_response 404
|
||||
assert_response 406
|
||||
end
|
||||
|
||||
def test_invalid_token_should_call_custom_handler
|
||||
|
||||
Reference in New Issue
Block a user