@@ -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 ( "https://httpbin .org/bytes/100" ) ;
38
+ let downPath : string = await toolLib . downloadTool ( "https://httpbingo .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 ( 'https://httpbin.org/bytes/100' ) + "&status_code=302" ) ;
58
+ let downPath : string = await toolLib . downloadTool ( "https://httpbingo .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 ( "https://httpbin .org/bytes/100" , absolutePath ) ;
79
+ let downPath : string = await toolLib . downloadTool ( "https://httpbingo .org/bytes/100" , absolutePath ) ;
80
80
toolLib . debug ( 'downloaded path: ' + downPath ) ;
81
81
82
82
assert ( tl . exist ( downPath ) , 'downloaded file exists' ) ;
@@ -93,7 +93,7 @@ describe('Tool Tests', function () {
93
93
it ( 'has status code in exception dictionary for HTTP error code responses' , async function ( ) {
94
94
return new Promise < void > ( async ( resolve , reject ) => {
95
95
try {
96
- let errorCodeUrl : string = "https://httpbin .org/status/400" ;
96
+ let errorCodeUrl : string = "https://httpbingo .org/status/400" ;
97
97
let downPath : string = await toolLib . downloadTool ( errorCodeUrl ) ;
98
98
99
99
reject ( 'a file was downloaded but it shouldnt have been' ) ;
@@ -109,7 +109,7 @@ describe('Tool Tests', function () {
109
109
it ( 'works with redirect code 302' , async function ( ) {
110
110
return new Promise < void > ( async ( resolve , reject ) => {
111
111
try {
112
- let statusCodeUrl : string = "https://httpbin .org/redirect-to?url=https%3A%2F%2Fexample.com%2F&status_code=302" ;
112
+ let statusCodeUrl : string = "https://httpbingo .org/redirect-to?url=https%3A%2F%2Fexample.com%2F&status_code=302" ;
113
113
let downPath : string = await toolLib . downloadTool ( statusCodeUrl ) ;
114
114
115
115
resolve ( ) ;
@@ -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 ( "https://httpbin .org/bytes/100" ) ;
128
+ let downPath : string = await toolLib . downloadTool ( "https://httpbingo .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 ( "https://httpbin .org/bytes/100" ) ;
155
- let downPath1_2 : string = await toolLib . downloadTool ( "https://httpbin .org/bytes/100" ) ;
154
+ let downPath1_1 : string = await toolLib . downloadTool ( "https://httpbingo .org/bytes/100" ) ;
155
+ let downPath1_2 : string = await toolLib . downloadTool ( "https://httpbingo .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' ) ;
0 commit comments