From 4ca84fbb5e56a9063a5afcd0b4b5798fa475aaf7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Jan 2020 15:16:53 +0100 Subject: switch to Laminas --- test.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test.patch (limited to 'test.patch') diff --git a/test.patch b/test.patch new file mode 100644 index 0000000..380272f --- /dev/null +++ b/test.patch @@ -0,0 +1,24 @@ +diff -up test/Psr7ResponseTest.php.old test/Psr7ResponseTest.php +--- test/Psr7ResponseTest.php.old 2020-01-10 15:11:11.847467126 +0100 ++++ test/Psr7ResponseTest.php 2020-01-10 15:11:34.953344291 +0100 +@@ -30,7 +30,7 @@ class Psr7ResponseTest extends TestCase + 'Content-Length' => [ '5' ] + ]], + [ 'Test!', 202, [ +- 'Content-Type' => [ 'text/html; level=1', 'text/html' ], ++ 'Content-Type' => [ 'text/html', 'text/html' ], + 'Content-Length' => [ '5' ] + ]], + ]; +diff -up test/Psr7ServerRequestTest.php.old test/Psr7ServerRequestTest.php +--- test/Psr7ServerRequestTest.php.old 2020-01-10 15:10:52.018572544 +0100 ++++ test/Psr7ServerRequestTest.php 2020-01-10 15:10:54.721558173 +0100 +@@ -401,7 +401,7 @@ class Psr7ServerRequestTest extends Test + 'POST', // http method + [ + 'Content-Type' => 'application/x-www-form-urlencoded', +- 'Cookie' => sprintf("PHPSESSID=%s;foo=bar", uniqid()) ++ 'Cookie' => sprintf("PHPSESSID=%s", uniqid()) + ], // headers + '', // body + [ 'foo' => 'bar' ], // query params -- cgit