X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d906fe8c6303c00e399ce2dfecc3471959fbe6e..273706ae09862364deaa0287a3b563340300fdea:/test/functional/relation_controller_test.rb?ds=sidebyside diff --git a/test/functional/relation_controller_test.rb b/test/functional/relation_controller_test.rb index 10762f48d..19b3617fc 100644 --- a/test/functional/relation_controller_test.rb +++ b/test/functional/relation_controller_test.rb @@ -433,10 +433,10 @@ class RelationControllerTest < ActionController::TestCase assert_response :bad_request # try to delete without specifying a changeset - content "" + content "" delete :delete, :id => current_relations(:visible_relation).id assert_response :bad_request - assert_match(/You are missing the required changeset in the relation/, @response.body) + assert_match(/Changeset id is missing/, @response.body) # try to delete with an invalid (closed) changeset content update_changeset(current_relations(:visible_relation).to_xml,