@@ -35,7 +35,7 @@ describe('Tool Tests', function () {
35
35
36
36
return new Promise < void > ( async ( resolve , reject ) => {
37
37
try {
38
- let downPath : string = await toolLib . downloadTool ( "http ://httpbin.org/bytes/100" ) ;
38
+ let downPath : string = await toolLib . downloadTool ( "https ://httpbin.org/bytes/100" ) ;
39
39
toolLib . debug ( 'downloaded path: ' + downPath ) ;
40
40
41
41
assert ( tl . exist ( downPath ) , 'downloaded file exists' ) ;
@@ -55,7 +55,7 @@ describe('Tool Tests', function () {
55
55
return new Promise < void > ( async ( resolve , reject ) => {
56
56
try {
57
57
58
- let downPath : string = await toolLib . downloadTool ( "https://httpbin.org/redirect-to?url=" + encodeURI ( 'http ://httpbin.org/bytes/100' ) + "&status_code=302" ) ;
58
+ let downPath : string = await toolLib . downloadTool ( "https://httpbin.org/redirect-to?url=" + encodeURI ( 'https ://httpbin.org/bytes/100' ) + "&status_code=302" ) ;
59
59
toolLib . debug ( 'downloaded path: ' + downPath ) ;
60
60
61
61
assert ( tl . exist ( downPath ) , 'downloaded file exists' ) ;
@@ -76,7 +76,7 @@ describe('Tool Tests', function () {
76
76
try {
77
77
let tempDownloadFolder : string = 'temp_' + Math . floor ( Math . random ( ) * 2000000000 ) ;
78
78
let absolutePath : string = path . join ( tempPath , tempDownloadFolder ) ;
79
- let downPath : string = await toolLib . downloadTool ( "http ://httpbin.org/bytes/100" , absolutePath ) ;
79
+ let downPath : string = await toolLib . downloadTool ( "https ://httpbin.org/bytes/100" , absolutePath ) ;
80
80
toolLib . debug ( 'downloaded path: ' + downPath ) ;
81
81
82
82
assert ( tl . exist ( downPath ) , 'downloaded file exists' ) ;
@@ -125,7 +125,7 @@ describe('Tool Tests', function () {
125
125
126
126
return new Promise < void > ( async ( resolve , reject ) => {
127
127
try {
128
- let downPath : string = await toolLib . downloadTool ( "http ://httpbin.org/bytes/100" ) ;
128
+ let downPath : string = await toolLib . downloadTool ( "https ://httpbin.org/bytes/100" ) ;
129
129
toolLib . debug ( 'downloaded path: ' + downPath ) ;
130
130
131
131
assert ( tl . exist ( downPath ) , 'downloaded file exists' ) ;
@@ -151,8 +151,8 @@ describe('Tool Tests', function () {
151
151
152
152
return new Promise < void > ( async ( resolve , reject ) => {
153
153
try {
154
- let downPath1_1 : string = await toolLib . downloadTool ( "http ://httpbin.org/bytes/100" ) ;
155
- let downPath1_2 : string = await toolLib . downloadTool ( "http ://httpbin.org/bytes/100" ) ;
154
+ let downPath1_1 : string = await toolLib . downloadTool ( "https ://httpbin.org/bytes/100" ) ;
155
+ let downPath1_2 : string = await toolLib . downloadTool ( "https ://httpbin.org/bytes/100" ) ;
156
156
157
157
toolLib . cacheFile ( downPath1_1 , 'foo' , 'foo' , '1.1.0' ) ;
158
158
toolLib . cacheFile ( downPath1_2 , 'foo' , 'foo' , '1.2.0' ) ;
@@ -180,7 +180,7 @@ describe('Tool Tests', function () {
180
180
// General parameters:
181
181
let username : string = "usr" ;
182
182
let correctPassword : string = "pass" ;
183
- let url : string = "http ://httpbin.org/basic-auth/" + username + "/" + correctPassword ;
183
+ let url : string = "https ://httpbin.org/basic-auth/" + username + "/" + correctPassword ;
184
184
185
185
// First try downloading with WRONG credentials and verify receiving status code 401:
186
186
try {
0 commit comments