Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f2c48c5

Browse files
fix tests
1 parent 3a52e44 commit f2c48c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Factory/AbstractHttpMessageFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function testCreateResponse()
149149
202,
150150
array('X-Symfony' => array('3.4'))
151151
);
152-
$response->headers->setCookie(new Cookie('city', 'Lille', new \DateTime('Wed, 13 Jan 2021 22:23:01 GMT')));
152+
$response->headers->setCookie(new Cookie('city', 'Lille', new \DateTime('Wed, 13 Jan 2021 22:23:01 GMT'), '/', null, false, true, false, ''));
153153

154154
$psrResponse = $this->factory->createResponse($response);
155155
$this->assertEquals('Response content.', $psrResponse->getBody()->__toString());

0 commit comments

Comments
 (0)