summaryrefslogtreecommitdiffstats
path: root/test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'test.patch')
-rw-r--r--test.patch24
1 files changed, 24 insertions, 0 deletions
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