X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c53db246f606e0233a524e8f3c6390ea74e96890..34e3e51456774127d43408b7ab65c24f41373f62:/test/controllers/trace_controller_test.rb diff --git a/test/controllers/trace_controller_test.rb b/test/controllers/trace_controller_test.rb index 68cacdce3..408ae0cd1 100644 --- a/test/controllers/trace_controller_test.rb +++ b/test/controllers/trace_controller_test.rb @@ -493,7 +493,7 @@ class TraceControllerTest < ActionController::TestCase basic_authorization(users(:normal_user).display_name, "test") content gpx_files(:anon_trace_file).to_xml put :api_update, :id => gpx_files(:public_trace_file).id - assert_response :bad_request, + assert_response :bad_request, "should not be able to update a trace with a different ID from the XML" # And finally try an update that should work