dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add session_write_close() calls to SessionManager tests
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
session
/
SessionBackendTest.php
diff --git
a/tests/phpunit/includes/session/SessionBackendTest.php
b/tests/phpunit/includes/session/SessionBackendTest.php
index
ae19278
..
48c3d17
100644
(file)
--- 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;