From 8e3f2720fa462443e1566c9e3ab78169adcb0468 Mon Sep 17 00:00:00 2001 From: oscarotero Date: Sat, 11 Aug 2018 09:23:25 +0200 Subject: [PATCH] removed Nyholm\Psr7 tests because are failing in php7.0 --- composer.json | 3 +-- tests/FactoryTest.php | 10 ---------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/composer.json b/composer.json index 175e0de..5ea11d5 100644 --- a/composer.json +++ b/composer.json @@ -28,8 +28,7 @@ "friendsofphp/php-cs-fixer": "^2.0", "squizlabs/php_codesniffer": "^3.0", "slim/slim": "^3.5", - "guzzlehttp/psr7": "^1.3", - "nyholm/psr7": "^1.0" + "guzzlehttp/psr7": "^1.3" }, "autoload": { "psr-4": { diff --git a/tests/FactoryTest.php b/tests/FactoryTest.php index 3a1d8e3..0f83c2e 100644 --- a/tests/FactoryTest.php +++ b/tests/FactoryTest.php @@ -7,7 +7,6 @@ use Middlewares\Utils\Factory\DiactorosFactory; use Middlewares\Utils\Factory\GuzzleFactory; use Middlewares\Utils\Factory\SlimFactory; -use Nyholm\Psr7\Factory\Psr17Factory; use PHPUnit\Framework\TestCase; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\ResponseInterface; @@ -138,15 +137,6 @@ public function strategiesDataProvider(): array SlimFactory::class, SlimFactory::class, ], - [ - [ - Psr17Factory::class, - ], - Psr17Factory::class, - Psr17Factory::class, - Psr17Factory::class, - Psr17Factory::class, - ], [ [ 'NotFound',