15306: Adds integration tests with query string & form encoded params.
[arvados.git] / services / api / test / integration / users_test.rb
index e57268f906889312a23be8cbb2221999738b5354..5886fb2d08965ee494898a4bf1ca06cfc70a18f2 100644 (file)
@@ -211,7 +211,7 @@ class UsersTest < ActionDispatch::IntegrationTest
 
     verify_link_existence created['uuid'], created['email'], true, true, true, true, false
 
-    post "/arvados/v1/users/#{created['uuid']}/unsetup", {}, auth(:admin)
+    post "/arvados/v1/users/#{created['uuid']}/unsetup", params: {}, headers: auth(:admin)
 
     assert_response :success