Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 21aed15

Browse filesBrowse files
committed
Merge branch '6.4' into 7.0
* 6.4: Revert bumping contract version stop all server processes after tests have run
2 parents 25cbb91 + 0830d23 commit 21aed15
Copy full SHA for 21aed15

File tree

Expand file treeCollapse file tree

5 files changed

+25
-0
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+25
-0
lines changed

‎Tests/DataCollector/HttpClientDataCollectorTest.php

Copy file name to clipboardExpand all lines: Tests/DataCollector/HttpClientDataCollectorTest.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ public static function setUpBeforeClass(): void
2424
TestHttpServer::start();
2525
}
2626

27+
public static function tearDownAfterClass(): void
28+
{
29+
TestHttpServer::stop();
30+
}
31+
2732
public function testItCollectsRequestCount()
2833
{
2934
$httpClient1 = $this->httpClientThatHasTracedRequests([

‎Tests/HttplugClientTest.php

Copy file name to clipboardExpand all lines: Tests/HttplugClientTest.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ public static function setUpBeforeClass(): void
3232
TestHttpServer::start();
3333
}
3434

35+
public static function tearDownAfterClass(): void
36+
{
37+
TestHttpServer::stop();
38+
}
39+
3540
public function testSendRequest()
3641
{
3742
$client = new HttplugClient(new NativeHttpClient());

‎Tests/Psr18ClientTest.php

Copy file name to clipboardExpand all lines: Tests/Psr18ClientTest.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ public static function setUpBeforeClass(): void
2828
TestHttpServer::start();
2929
}
3030

31+
public static function tearDownAfterClass(): void
32+
{
33+
TestHttpServer::stop();
34+
}
35+
3136
public function testSendRequest()
3237
{
3338
$factory = new Psr17Factory();

‎Tests/RetryableHttpClientTest.php

Copy file name to clipboardExpand all lines: Tests/RetryableHttpClientTest.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727

2828
class RetryableHttpClientTest extends TestCase
2929
{
30+
public static function tearDownAfterClass(): void
31+
{
32+
TestHttpServer::stop();
33+
}
34+
3035
public function testRetryOnError()
3136
{
3237
$client = new RetryableHttpClient(

‎Tests/TraceableHttpClientTest.php

Copy file name to clipboardExpand all lines: Tests/TraceableHttpClientTest.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public static function setUpBeforeClass(): void
2929
TestHttpServer::start();
3030
}
3131

32+
public static function tearDownAfterClass(): void
33+
{
34+
TestHttpServer::stop();
35+
}
36+
3237
public function testItTracesRequest()
3338
{
3439
$httpClient = $this->createMock(HttpClientInterface::class);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.