From 6050ebdf427f94a3c0acad40c2e8f8c7e17fcb02 Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Mon, 21 Jul 2025 16:48:37 +0200 Subject: [PATCH] Remove temporary debug code --- test/controllers/api/maps_controller_test.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/controllers/api/maps_controller_test.rb b/test/controllers/api/maps_controller_test.rb index f61a1fac2..bd39a8f43 100644 --- a/test/controllers/api/maps_controller_test.rb +++ b/test/controllers/api/maps_controller_test.rb @@ -125,10 +125,6 @@ module Api maxlat = node.lat + 0.1 bbox = "#{minlon},#{minlat},#{maxlon},#{maxlat}" get api_map_path(:bbox => bbox) - if $VERBOSE - print @request.to_yaml - print @response.body - end assert_response :success, "Expected success with the map call" assert_select "osm[version='#{Settings.api_version}'][generator='#{Settings.generator}']", :count => 1 do assert_select "bounds[minlon='#{format('%.7f', :lon => minlon)}']" \ @@ -168,10 +164,6 @@ module Api maxlat = node.lat + 0.1 bbox = "#{minlon},#{minlat},#{maxlon},#{maxlat}" get api_map_path(:bbox => bbox, :format => "json") - if $VERBOSE - print @request.to_yaml - print @response.body - end assert_response :success, "Expected success with the map call" js = ActiveSupport::JSON.decode(@response.body) assert_not_nil js -- 2.39.5