From be11a2048bc6f7b7cd19c737936467b15b583a93 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 4 Oct 2016 20:31:32 +0000 Subject: Test failure. git-svn-id: http://svn.redmine.org/redmine/trunk@15888 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/api_test/api_test.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test') 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 -- cgit v1.2.3