Add tests for SSL and and trial versions

This commit is contained in:
pemontto 2019-10-18 17:56:55 +01:00
parent 3707af1488
commit ab70e6f11d
No known key found for this signature in database
GPG key ID: EDCB93C3DA1B5DA9
11 changed files with 257 additions and 9 deletions

View file

@ -22,6 +22,7 @@ def curl_json(uri, username=nil, password=nil)
res = Net::HTTP.start(
uri.hostname,
uri.port,
:use_ssl => uri.scheme == 'https',
:verify_mode => OpenSSL::SSL::VERIFY_NONE
) {|http|
http.request(req)