Skip to content

Commit

Permalink
Merge pull request #60 from andrew-demb/revert-to-httpbin-org
Browse files Browse the repository at this point in the history
Revert to httpbin org
  • Loading branch information
dbu authored Sep 1, 2024
2 parents b0e858f + 85ec34a commit 98e22b9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.1.1] - 2024-xx-xx

- Switched to `httpbin.org` for tests

## [3.1.0] - 2024-03-05

- Removed builds for abandoned guzzle5 and guzzle6 adapters
Expand Down
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',
'https://httpbingo.org/get'
'https://httpbin.org/get'
);

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

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

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

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

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

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

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

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

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

0 comments on commit 98e22b9

Please sign in to comment.