$:.push File.expand_path("../../lib", __FILE__)
require 'helix_web_services_client'
require_relative './util/test_config'
require 'pp'
api = HelixWebServices::DefaultApi.new
api.api_client.config.host = hws_host
login_request = HelixWebServices::LoginRequest.new(:user => 'jdoe', :password => 'wrong_password')
raised_error = false
begin
api.login_post(login_request)
rescue
raised_error = true
end
raise 'No error signalled with invalid auth' unless raised_error
# |
Change |
User |
Description |
Committed |
|
#1
|
19553 |
swellard |
Move and rename clients |
|
|
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/ruby/test/default_api.login_post.illegal_auth.rb |
#1
|
19190 |
tjuricek |
Ruby Client SDK test reconfiguration and tests for branches, login, p4d configuration |
|
|