Skip to content

Commit e59727a

Browse files
committed
Rename base test class for HttpMessageFactoryInterface implementations
1 parent 7b20582 commit e59727a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Tests/Factory/AbstractPsrFactoryTest.php renamed to Tests/Factory/AbstractHttpMessageFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @author Kévin Dunglas <[email protected]>
2525
* @author Antonio J. García Lagar <[email protected]>
2626
*/
27-
abstract class AbstractPsrFactoryTest extends TestCase
27+
abstract class AbstractHttpMessageFactoryTest extends TestCase
2828
{
2929
private $factory;
3030
private $tmpDir;

Tests/Factory/DiactorosFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @author Kévin Dunglas <[email protected]>
1818
*/
19-
class DiactorosFactoryTest extends AbstractPsrFactoryTest
19+
class DiactorosFactoryTest extends AbstractHttpMessageFactoryTest
2020
{
2121
protected function getHttpMessageFactory()
2222
{

Tests/Factory/PsrHttpFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* @author Antonio J. García Lagar <[email protected]>
2222
*/
23-
class PsrHttpFactoryTest extends AbstractPsrFactoryTest
23+
class PsrHttpFactoryTest extends AbstractHttpMessageFactoryTest
2424
{
2525
protected function getHttpMessageFactory()
2626
{

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"suggest": {
2727
"psr/http-message-implementation": "To use the HttpFoundation factory",
2828
"zendframework/zend-diactoros": "To use the Zend Diactoros factory",
29-
"psr/http-factory-implementation": "To use the PSR Factory factory"
29+
"psr/http-factory-implementation": "To use the PSR-17 factory"
3030
},
3131
"autoload": {
3232
"psr-4": { "Symfony\\Bridge\\PsrHttpMessage\\": "" }

0 commit comments

Comments
 (0)