File tree 4 files changed +10
-16
lines changed
java-okhttp/test/unit/fixtures
java-unirest/test/unit/fixtures
test/codegen/newman/fixtures
4 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -14,21 +14,12 @@ pushd ./codegens/java-okhttp &>/dev/null;
14
14
sudo rm -rf /var/lib/apt/lists/*
15
15
sudo apt-get update
16
16
sudo apt-get install -y openjdk-8-jdk
17
- sudo wget http://central.maven.org/maven2/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.jar
18
- sudo wget http://central.maven.org/maven2/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar
17
+ unzip test/unit/fixtures/dependencies.zip
19
18
popd & > /dev/null;
20
19
21
20
echo " Installing dependencies required for tests in codegens/java-unirest"
22
21
pushd ./codegens/java-unirest & > /dev/null;
23
- sudo wget http://central.maven.org/maven2/com/mashape/unirest/unirest-java/1.4.9/unirest-java-1.4.9.jar
24
- sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
25
- sudo wget http://central.maven.org/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
26
- sudo wget http://central.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
27
- sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar
28
- sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpasyncclient/4.1.1/httpasyncclient-4.1.1.jar
29
- sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpcore-nio/4.4.4/httpcore-nio-4.4.4.jar
30
- sudo wget http://central.maven.org/maven2/org/json/json/20160212/json-20160212.jar
31
- sudo wget http://central.maven.org/maven2/org/apache/httpcomponents/httpmime/4.3.6/httpmime-4.3.6.jar
22
+ unzip test/unit/fixtures/dependencies.zip
32
23
popd & > /dev/null;
33
24
34
25
echo " Installing dependencies required for tests in codegens/csharp-restsharp"
Original file line number Diff line number Diff line change 1
1
{
2
2
"info" : {
3
- "_postman_id" : " d5d65b0c-0f10-4455-8ba2-d887c4180a08 " ,
3
+ "_postman_id" : " 3ef1c00f-c58f-4604-8419-7a4931958235 " ,
4
4
"name" : " Redirect test" ,
5
5
"schema" : " https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6
6
},
11
11
"method" : " GET" ,
12
12
"header" : [],
13
13
"url" : {
14
- "raw" : " https://httpbin .org/redirect-to?url =https://postman-echo.com/get" ,
14
+ "raw" : " https://mockbin .org/redirect/302/1/?to =https://postman-echo.com/get" ,
15
15
"protocol" : " https" ,
16
16
"host" : [
17
- " httpbin " ,
17
+ " mockbin " ,
18
18
" org"
19
19
],
20
20
"path" : [
21
- " redirect-to"
21
+ " redirect" ,
22
+ " 302" ,
23
+ " 1" ,
24
+ " "
22
25
],
23
26
"query" : [
24
27
{
25
- "key" : " url " ,
28
+ "key" : " to " ,
26
29
"value" : " https://postman-echo.com/get"
27
30
}
28
31
]
You can’t perform that action at this time.
0 commit comments