Test failure.

git-svn-id: http://svn.redmine.org/redmine/trunk@15888 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-10-04 20:31:32 +00:00
parent 49b5141022
commit be11a2048b

View File

@@ -46,11 +46,9 @@ class Redmine::ApiTest::ApiTest < Redmine::ApiTest::Base
end
def test_head_response_should_have_empty_body
assert_difference('Issue.count', -1) do
delete '/issues/6.xml', {}, credentials('jsmith')
put '/users/7.xml', {:user => {:login => 'foo'}}, credentials('admin')
assert_response :ok
assert_equal '', response.body
end
assert_response :ok
assert_equal '', response.body
end
end