X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3422bb541db16f6b6e7374689e82e982bd78664b..5add2d7e1d1d365e80d1d4ef417ff249ca7f35c0:/test/controllers/api/users_controller_test.rb?ds=sidebyside diff --git a/test/controllers/api/users_controller_test.rb b/test/controllers/api/users_controller_test.rb index aa4bf1e9d..8e7079b85 100644 --- a/test/controllers/api/users_controller_test.rb +++ b/test/controllers/api/users_controller_test.rb @@ -731,7 +731,7 @@ module Api def check_json_details(js, user, include_private, include_email) assert_equal user.id, js["user"]["id"] assert_equal user.description, js["user"]["description"] - assert js["user"]["contributor_terms"]["agreed"] + assert_operator js["user"]["contributor_terms"], :[], "agreed" if include_private assert_not js["user"]["contributor_terms"]["pd"]