X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b1bac1279e268c8e5fcca34c950f30d2c06ec1c..11cd1c9fc1417f5e6b52991897b29bb94a4288a4:/test/controllers/api/changesets_controller_test.rb diff --git a/test/controllers/api/changesets_controller_test.rb b/test/controllers/api/changesets_controller_test.rb index e7ad88eb8..a4583a928 100644 --- a/test/controllers/api/changesets_controller_test.rb +++ b/test/controllers/api/changesets_controller_test.rb @@ -458,8 +458,8 @@ CHANGESET diff.root = XML::Node.new "osmChange" delete = XML::Node.new "delete" diff.root << delete - delete << super_relation.to_xml_node - delete << used_relation.to_xml_node + delete << xml_node_for_relation(super_relation) + delete << xml_node_for_relation(used_relation) delete << xml_node_for_way(used_way) delete << xml_node_for_node(used_node) @@ -590,7 +590,7 @@ CHANGESET diff.root = XML::Node.new "osmChange" delete = XML::Node.new "delete" diff.root << delete - delete << other_relation.to_xml_node + delete << xml_node_for_relation(other_relation) delete << xml_node_for_way(used_way) delete << xml_node_for_node(used_node) @@ -633,7 +633,7 @@ CHANGESET delete = XML::Node.new "delete" diff.root << delete delete["if-unused"] = "" - delete << used_relation.to_xml_node + delete << xml_node_for_relation(used_relation) delete << xml_node_for_way(used_way) delete << xml_node_for_node(used_node)