LP#1817645: fix live perl test for basic auth API
authorBen Shum <ben@evergreener.net>
Sun, 8 Sep 2019 21:21:18 +0000 (17:21 -0400)
committerBen Shum <ben@evergreener.net>
Sun, 8 Sep 2019 21:21:18 +0000 (17:21 -0400)
The live perl test is failing because we are not passing all
the right parameters for ignoring the SSL certificate verification
checks. Pass another variable to see if this helps.

Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/perlmods/live_t/29-lp1817645-remoteauth-patron-api.t

index 6732d6c..e2c7bb2 100644 (file)
@@ -40,7 +40,10 @@ my $e = new_editor( authtoken => $staff_login->{payload}->{authtoken} );
 $e->init;
 
 my $client = LWP::UserAgent->new;
-$client->ssl_opts( verify_hostname => 0 );
+$client->ssl_opts(
+    SSL_verify_mode => 0,
+    verify_hostname => 0
+);
 
 # my $res = $client->request( $method, $uri, $headers, $content, $request_timeout );