Skip to content

Commit 2c02584

Browse files
authored
Merge pull request #56 from f-pisani/use-httpbingo-instead-of-httpbin
Replace httpbin.org by httpbingo.org to fix postmanlabs/httpbin issues
2 parents 4dbbacf + 73683bb commit 2c02584

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/HttpFeatureTest.php

+11-11
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testGet()
3333
{
3434
$request = self::$messageFactory->createRequest(
3535
'GET',
36-
'http://httpbin.org/get'
36+
'https://httpbingo.org/get'
3737
);
3838

3939
$response = $this->createClient()->sendRequest($request);
@@ -49,7 +49,7 @@ public function testPost()
4949
$testData = 'Test data';
5050
$request = self::$messageFactory->createRequest(
5151
'POST',
52-
'http://httpbin.org/post',
52+
'https://httpbingo.org/post',
5353
['Content-Length' => strlen($testData)],
5454
$testData
5555
);
@@ -70,7 +70,7 @@ public function testPatch()
7070
{
7171
$request = self::$messageFactory->createRequest(
7272
'PATCH',
73-
'http://httpbin.org/patch'
73+
'https://httpbingo.org/patch'
7474
);
7575

7676
$response = $this->createClient()->sendRequest($request);
@@ -85,7 +85,7 @@ public function testPut()
8585
{
8686
$request = self::$messageFactory->createRequest(
8787
'PUT',
88-
'http://httpbin.org/put'
88+
'https://httpbingo.org/put'
8989
);
9090

9191
$response = $this->createClient()->sendRequest($request);
@@ -100,7 +100,7 @@ public function testDelete()
100100
{
101101
$request = self::$messageFactory->createRequest(
102102
'DELETE',
103-
'http://httpbin.org/delete'
103+
'https://httpbingo.org/delete'
104104
);
105105

106106
$response = $this->createClient()->sendRequest($request);
@@ -116,7 +116,7 @@ public function testAutoSetContentLength()
116116
$testData = 'Test data';
117117
$request = self::$messageFactory->createRequest(
118118
'POST',
119-
'http://httpbin.org/post',
119+
'https://httpbingo.org/post',
120120
[],
121121
$testData
122122
);
@@ -137,7 +137,7 @@ public function testEncoding()
137137
{
138138
$request = self::$messageFactory->createRequest(
139139
'GET',
140-
'http://httpbin.org/encoding/utf8'
140+
'https://httpbingo.org/encoding/utf8'
141141
);
142142

143143
$response = $this->createClient()->sendRequest($request);
@@ -153,7 +153,7 @@ public function testGzip()
153153
{
154154
$request = self::$messageFactory->createRequest(
155155
'GET',
156-
'http://httpbin.org/gzip'
156+
'https://httpbingo.org/gzip'
157157
);
158158

159159
$response = $this->createClient()->sendRequest($request);
@@ -169,7 +169,7 @@ public function testDeflate()
169169
{
170170
$request = self::$messageFactory->createRequest(
171171
'GET',
172-
'http://httpbin.org/deflate'
172+
'https://httpbingo.org/deflate'
173173
);
174174

175175
$response = $this->createClient()->sendRequest($request);
@@ -185,7 +185,7 @@ public function testRedirect()
185185
{
186186
$request = self::$messageFactory->createRequest(
187187
'GET',
188-
'http://httpbin.org/redirect/1'
188+
'https://httpbingo.org/redirect/1'
189189
);
190190

191191
$response = $this->createClient()->sendRequest($request);
@@ -200,7 +200,7 @@ public function testChunked()
200200
{
201201
$request = self::$messageFactory->createRequest(
202202
'GET',
203-
'http://httpbin.org/stream/1'
203+
'https://httpbingo.org/stream/1'
204204
);
205205

206206
$response = $this->createClient()->sendRequest($request);

0 commit comments

Comments
 (0)