Skip to content

Commit 3c7a8ac

Browse files
xabbuhnicolas-grekas
authored andcommitted
fix session cookie options assertions on PHP 8.5
1 parent 4ce4ff3 commit 3c7a8ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ public function testCookieOptions()
192192
'cookie_samesite' => 'lax',
193193
];
194194

195+
if (\PHP_VERSION_ID >= 80500) {
196+
$options['cookie_partitioned'] = false;
197+
}
198+
195199
$this->getStorage($options);
196200
$temp = session_get_cookie_params();
197201
$gco = [];

0 commit comments

Comments
 (0)