]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/old_node_controller_test.rb
Fix rubocop lint issues
[rails.git] / test / controllers / old_node_controller_test.rb
index 6e90773fabecda1185a731ce8d6b4ccc6ca09b2f..1b131b3404e820ec7d1c10f22545804b919e9f88 100644 (file)
@@ -35,7 +35,6 @@ class OldNodeControllerTest < ActionController::TestCase
   def test_version
     ## First try this with a non-public user
     basic_authorization(users(:normal_user).email, "test")
-    changeset_id = changesets(:normal_user_first_change).id
 
     # setup a simple XML node
     xml_doc = current_nodes(:visible_node).to_xml
@@ -85,7 +84,6 @@ class OldNodeControllerTest < ActionController::TestCase
 
     ## Now do it with the public user
     basic_authorization(users(:public_user).email, "test")
-    changeset_id = changesets(:public_user_first_change).id
 
     # setup a simple XML node
     xml_doc = current_nodes(:node_with_versions).to_xml