Fix tests that only worked if object 400 didn't exist
This commit is contained in:
parent
e21c967fdd
commit
c658e84535
3 changed files with 3 additions and 3 deletions
|
@ -188,7 +188,7 @@ class RelationControllerTest < ActionController::TestCase
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue