File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -265,25 +265,25 @@ describe('BaseService', function() {
265265 assert ( authHeader . startsWith ( 'Basic' ) ) ;
266266 } ) ;
267267
268- it ( 'should set rejectUnauthorized to `false` if `disable_ssl ` is `true`' , function ( ) {
268+ it ( 'should set rejectUnauthorized to `false` if `disable_ssl_verification ` is `true`' , function ( ) {
269269 const instance = new TestService ( {
270270 username : 'apikey' ,
271271 password : 'icp-1234' ,
272- disable_ssl : true ,
272+ disable_ssl_verification : true ,
273273 } ) ;
274274 assert . equal ( instance . _options . rejectUnauthorized , false ) ;
275275 } ) ;
276276
277- it ( 'should set rejectUnauthorized to `true` if `disable_ssl ` is `false`' , function ( ) {
277+ it ( 'should set rejectUnauthorized to `true` if `disable_ssl_verification ` is `false`' , function ( ) {
278278 const instance = new TestService ( {
279279 username : 'apikey' ,
280280 password : 'icp-1234' ,
281- disable_ssl : false ,
281+ disable_ssl_verification : false ,
282282 } ) ;
283283 assert ( instance . _options . rejectUnauthorized ) ;
284284 } ) ;
285285
286- it ( 'should set rejectUnauthorized to `true` if `disable_ssl ` is not set' , function ( ) {
286+ it ( 'should set rejectUnauthorized to `true` if `disable_ssl_verification ` is not set' , function ( ) {
287287 const instance = new TestService ( {
288288 username : 'apikey' ,
289289 password : 'icp-1234' ,
You can’t perform that action at this time.
0 commit comments