X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fsession%2FSessionBackendTest.php;h=48c3d179e76e947b41f05ae4a5a5fcdfa0de6ba6;hp=ae19278cb651cc0499820a61afa2c1810d228b95;hb=c1c0d243522d477799bb5ca325a100fa6a86a7fd;hpb=7a547df7c08e0236ba09376cf786de747a4eb19c diff --git a/tests/phpunit/includes/session/SessionBackendTest.php b/tests/phpunit/includes/session/SessionBackendTest.php index ae19278cb6..48c3d179e7 100644 --- a/tests/phpunit/includes/session/SessionBackendTest.php +++ b/tests/phpunit/includes/session/SessionBackendTest.php @@ -941,6 +941,7 @@ class SessionBackendTest extends MediaWikiTestCase { \Wikimedia\quietCall( 'session_start' ); $backend->unpersist(); $this->assertSame( self::SESSIONID . 'x', session_id() ); + session_write_close(); session_id( self::SESSIONID ); $wrap->persist = true;