summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/MessageTraitRequestTest.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-04-17 10:09:50 +0200
committermsquare <msquare@notrademark.de>2019-04-17 13:11:39 +0200
commit58ca7113f3cd3158a8ae1b02853ece0c4dba4eda (patch)
tree59d1dd3ef685027d312909acd314d9e33c3fa1d2 /tests/Unit/Http/MessageTraitRequestTest.php
parentd7ad7b0b13368ef7f3aa10209935f163dc58aa57 (diff)
PSR-7: Replaced implementation with `Nyholm\Psr7`
Diffstat (limited to 'tests/Unit/Http/MessageTraitRequestTest.php')
-rw-r--r--tests/Unit/Http/MessageTraitRequestTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Http/MessageTraitRequestTest.php b/tests/Unit/Http/MessageTraitRequestTest.php
index c3d99afb..31ba249f 100644
--- a/tests/Unit/Http/MessageTraitRequestTest.php
+++ b/tests/Unit/Http/MessageTraitRequestTest.php
@@ -3,7 +3,7 @@
namespace Engelsystem\Test\Unit\Http;
use Engelsystem\Test\Unit\Http\Stub\MessageTraitRequestImplementation;
-use PhpExtended\HttpMessage\StringStream;
+use Nyholm\Psr7\Stream;
use PHPUnit\Framework\TestCase;
class MessageTraitRequestTest extends TestCase
@@ -36,7 +36,7 @@ class MessageTraitRequestTest extends TestCase
*/
public function testWithBody()
{
- $stream = new StringStream('Test content');
+ $stream = Stream::create('Test content');
$message = new MessageTraitRequestImplementation();
$newMessage = $message->withBody($stream);