summaryrefslogtreecommitdiffstats
path: root/test.patch
blob: 380272fbdb901f5e6f3c84bc7188b92a975bd1b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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