summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-04 20:31:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-04 20:31:32 +0000
commitbe11a2048bc6f7b7cd19c737936467b15b583a93 (patch)
treef65bd68bc0d409b86d52aaffffaf8caa521f8fdf /test
parent49b514102237fa8d08ad9fefe5ffebf063161037 (diff)
downloadredmine-be11a2048bc6f7b7cd19c737936467b15b583a93.tar.gz
redmine-be11a2048bc6f7b7cd19c737936467b15b583a93.zip
Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@15888 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/integration/api_test/api_test.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/integration/api_test/api_test.rb b/test/integration/api_test/api_test.rb
index 35fd8f11b..5048f7e9b 100644
--- a/test/integration/api_test/api_test.rb
+++ b/test/integration/api_test/api_test.rb
@@ -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