]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/relation_controller_test.rb
Merge remote-tracking branch 'upstream/pull/1798'
[rails.git] / test / controllers / relation_controller_test.rb
index f90b6b58e6562f29bb9e8139440977a8069d2dc6..8a7e8b2fe2b6bcf212c804e19ace3df7475e8efd 100644 (file)
@@ -188,7 +188,7 @@ class RelationControllerTest < ActionController::TestCase
     end
 
     # check error when a non-existent relation is included
     end
 
     # check error when a non-existent relation is included
-    get :relations, :params => { :relations => "#{relation1.id},#{relation2.id},#{relation3.id},#{relation4.id},400" }
+    get :relations, :params => { :relations => "#{relation1.id},#{relation2.id},#{relation3.id},#{relation4.id},0" }
     assert_response :not_found
   end
 
     assert_response :not_found
   end