X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/33157534e1f2fc538a478c955fe1fd86dbbbec52..77f971b79cebeadba302209c71d121a711b722b7:/test/functional/amf_controller_test.rb diff --git a/test/functional/amf_controller_test.rb b/test/functional/amf_controller_test.rb index 0e9cda06f..22af7f228 100644 --- a/test/functional/amf_controller_test.rb +++ b/test/functional/amf_controller_test.rb @@ -552,14 +552,14 @@ class AmfControllerTest < ActionController::TestCase # this should be what AMF controller returns when the bbox of a # whichways request is invalid or too large. def assert_boundary_error(map, msg=nil, error_hint=nil) - expected_map = [-2, "Sorry - I can't get the map for that area.#{msg}", [], [], []] + expected_map = [-2, "Sorry - I can't get the map for that area.#{msg}"] assert_equal expected_map, map, "AMF controller should have returned an error. (#{error_hint})" end # this should be what AMF controller returns when the bbox of a # whichways_deleted request is invalid or too large. def assert_deleted_boundary_error(map, msg=nil, error_hint=nil) - expected_map = [-2, "Sorry - I can't get the map for that area.#{msg}", []] + expected_map = [-2, "Sorry - I can't get the map for that area.#{msg}"] assert_equal expected_map, map, "AMF controller should have returned an error. (#{error_hint})" end end