Skip to content

Commit

Permalink
Merge pull request #56 from f-pisani/use-httpbingo-instead-of-httpbin
Browse files Browse the repository at this point in the history
Replace httpbin.org by httpbingo.org to fix postmanlabs/httpbin issues
  • Loading branch information
dbu authored Mar 13, 2022
2 parents 4dbbacf + 73683bb commit 2c02584
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/HttpFeatureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testGet()
{
$request = self::$messageFactory->createRequest(
'GET',
'http://httpbin.org/get'
'https://httpbingo.org/get'
);

$response = $this->createClient()->sendRequest($request);
Expand All @@ -49,7 +49,7 @@ public function testPost()
$testData = 'Test data';
$request = self::$messageFactory->createRequest(
'POST',
'http://httpbin.org/post',
'https://httpbingo.org/post',
['Content-Length' => strlen($testData)],
$testData
);
Expand All @@ -70,7 +70,7 @@ public function testPatch()
{
$request = self::$messageFactory->createRequest(
'PATCH',
'http://httpbin.org/patch'
'https://httpbingo.org/patch'
);

$response = $this->createClient()->sendRequest($request);
Expand All @@ -85,7 +85,7 @@ public function testPut()
{
$request = self::$messageFactory->createRequest(
'PUT',
'http://httpbin.org/put'
'https://httpbingo.org/put'
);

$response = $this->createClient()->sendRequest($request);
Expand All @@ -100,7 +100,7 @@ public function testDelete()
{
$request = self::$messageFactory->createRequest(
'DELETE',
'http://httpbin.org/delete'
'https://httpbingo.org/delete'
);

$response = $this->createClient()->sendRequest($request);
Expand All @@ -116,7 +116,7 @@ public function testAutoSetContentLength()
$testData = 'Test data';
$request = self::$messageFactory->createRequest(
'POST',
'http://httpbin.org/post',
'https://httpbingo.org/post',
[],
$testData
);
Expand All @@ -137,7 +137,7 @@ public function testEncoding()
{
$request = self::$messageFactory->createRequest(
'GET',
'http://httpbin.org/encoding/utf8'
'https://httpbingo.org/encoding/utf8'
);

$response = $this->createClient()->sendRequest($request);
Expand All @@ -153,7 +153,7 @@ public function testGzip()
{
$request = self::$messageFactory->createRequest(
'GET',
'http://httpbin.org/gzip'
'https://httpbingo.org/gzip'
);

$response = $this->createClient()->sendRequest($request);
Expand All @@ -169,7 +169,7 @@ public function testDeflate()
{
$request = self::$messageFactory->createRequest(
'GET',
'http://httpbin.org/deflate'
'https://httpbingo.org/deflate'
);

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

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

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

0 comments on commit 2c02584

Please sign in to comment.