mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 00:06:01 +01:00
Ajax Request Returns 200 but an error event is fired instead of success (#30073).
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17849 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -49,7 +49,7 @@ class Redmine::ApiTest::ApiTest < Redmine::ApiTest::Base
|
||||
def test_head_response_should_have_empty_body
|
||||
put '/users/7.xml', :params => {:user => {:login => 'foo'}}, :headers => credentials('admin')
|
||||
|
||||
assert_response :ok
|
||||
assert_response :no_content
|
||||
assert_equal '', response.body
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user