X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/39c17737ac69d7693684fe2f95bef0ec235a28bf..a31587cba5c2c38e0fc4f91981baf8bf2605664c:/apps/workbench/test/integration_helper.rb diff --git a/apps/workbench/test/integration_helper.rb b/apps/workbench/test/integration_helper.rb index 33e50087e7..5fbdd5c6f0 100644 --- a/apps/workbench/test/integration_helper.rb +++ b/apps/workbench/test/integration_helper.rb @@ -244,7 +244,7 @@ class ActionDispatch::IntegrationTest end def upload_data_and_get_collection(data, user, filename, owner_uuid=nil) - token = api_fixture('api_client_authorizations')[user]['api_token'] + token = api_token(user) datablock = `echo -n #{data.shellescape} | ARVADOS_API_TOKEN=#{token.shellescape} arv-put --no-progress --raw -`.strip assert $?.success?, $? col = nil