1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Mon, 17 Feb 2025 20:26:48 +0100
Subject: Group internet for tests needing network access
---
src/StreamIntegrationTest.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/StreamIntegrationTest.php b/src/StreamIntegrationTest.php
index a677142..982dd2b 100644
--- a/src/StreamIntegrationTest.php
+++ b/src/StreamIntegrationTest.php
@@ -2,6 +2,7 @@
namespace Http\Psr7Test;
+use PHPUnit\Framework\Attributes\Group;
use Psr\Http\Message\StreamInterface;
/**
@@ -142,6 +143,7 @@ abstract class StreamIntegrationTest extends BaseTest
/**
* @group internet
*/
+ #[Group('internet')]
public function testIsNotSeekable()
{
if (isset($this->skippedTests[__FUNCTION__])) {
@@ -169,6 +171,7 @@ abstract class StreamIntegrationTest extends BaseTest
/**
* @group internet
*/
+ #[Group('internet')]
public function testIsNotWritable()
{
if (isset($this->skippedTests[__FUNCTION__])) {
@@ -196,6 +199,7 @@ abstract class StreamIntegrationTest extends BaseTest
/**
* @group internet
*/
+ #[Group('internet')]
public function testIsNotReadable()
{
if (isset($this->skippedTests[__FUNCTION__])) {
@@ -239,6 +243,7 @@ abstract class StreamIntegrationTest extends BaseTest
/**
* @group internet
*/
+ #[Group('internet')]
public function testRewindNotSeekable()
{
if (isset($this->skippedTests[__FUNCTION__])) {
|