Skip to content

Commit 98e22b9

Browse files
authoredSep 1, 2024
Merge pull request #60 from andrew-demb/revert-to-httpbin-org
Revert to httpbin org
2 parents b0e858f + 85ec34a commit 98e22b9

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed
 

‎CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
77
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [3.1.1] - 2024-xx-xx
10+
11+
- Switched to `httpbin.org` for tests
12+
913
## [3.1.0] - 2024-03-05
1014

1115
- Removed builds for abandoned guzzle5 and guzzle6 adapters

‎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-
'https://httpbingo.org/get'
36+
'https://httpbin.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-
'https://httpbingo.org/post',
52+
'https://httpbin.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-
'https://httpbingo.org/patch'
73+
'https://httpbin.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-
'https://httpbingo.org/put'
88+
'https://httpbin.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-
'https://httpbingo.org/delete'
103+
'https://httpbin.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-
'https://httpbingo.org/post',
119+
'https://httpbin.org/post',
120120
[],
121121
$testData
122122
);
@@ -137,7 +137,7 @@ public function testEncoding()
137137
{
138138
$request = self::$messageFactory->createRequest(
139139
'GET',
140-
'https://httpbingo.org/encoding/utf8'
140+
'https://httpbin.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-
'https://httpbingo.org/gzip'
156+
'https://httpbin.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-
'https://httpbingo.org/deflate'
172+
'https://httpbin.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-
'https://httpbingo.org/redirect/1'
188+
'https://httpbin.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-
'https://httpbingo.org/stream/1'
203+
'https://httpbin.org/stream/1'
204204
);
205205

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

0 commit comments

Comments
 (0)
Please sign in to comment.