From 73683bb7e2f886b4a41ad44bbb2b533f570662e1 Mon Sep 17 00:00:00 2001 From: Florian Pisani Date: Sat, 29 May 2021 13:43:07 +0200 Subject: [PATCH] Replace httpbin.org by httpbingo.org see https://github.com/postmanlabs/httpbin/issues/617 --- src/HttpFeatureTest.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/HttpFeatureTest.php b/src/HttpFeatureTest.php index fd4836f..60b23cc 100644 --- a/src/HttpFeatureTest.php +++ b/src/HttpFeatureTest.php @@ -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); @@ -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 ); @@ -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); @@ -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); @@ -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); @@ -116,7 +116,7 @@ public function testAutoSetContentLength() $testData = 'Test data'; $request = self::$messageFactory->createRequest( 'POST', - 'http://httpbin.org/post', + 'https://httpbingo.org/post', [], $testData ); @@ -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); @@ -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); @@ -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); @@ -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); @@ -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);