X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4826032d183932312d635193c9d3acef6107f280..ce85092f57e985925876dea7a455ef5e897b8127:/test/functional/amf_controller_test.rb diff --git a/test/functional/amf_controller_test.rb b/test/functional/amf_controller_test.rb index 9193cb4d2..c00003cbb 100644 --- a/test/functional/amf_controller_test.rb +++ b/test/functional/amf_controller_test.rb @@ -464,7 +464,7 @@ class AmfControllerTest < ActionController::TestCase # normal user has a changeset open changeset = changesets(:public_user_first_change) - mostly_invalid = 32.times.to_a.map {|i| i.chr}.join + mostly_invalid = (0..31).to_a.map {|i| i.chr}.join tags = { "something" => "foo#{mostly_invalid}bar" } amf_content "putpoi", "/1", ["test@example.com:test", changeset.id, nil, nil, lon, lat, tags, nil]