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
session: Add debug message for the used store class
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
session
/
SessionManagerTest.php
diff --git
a/tests/phpunit/includes/session/SessionManagerTest.php
b/tests/phpunit/includes/session/SessionManagerTest.php
index
b2f525d
..
3b4009e
100644
(file)
--- a/
tests/phpunit/includes/session/SessionManagerTest.php
+++ b/
tests/phpunit/includes/session/SessionManagerTest.php
@@
-34,7
+34,9
@@
class SessionManagerTest extends MediaWikiTestCase {
]
] );
$this->logger = new \TestLogger( false, function ( $m ) {
]
] );
$this->logger = new \TestLogger( false, function ( $m ) {
- return substr( $m, 0, 15 ) === 'SessionBackend ' ? null : $m;
+ return ( strpos( $m, 'SessionBackend ' ) === 0
+ || strpos( $m, 'SessionManager using store ' ) === 0
+ ) ? null : $m;
} );
$this->store = new TestBagOStuff();
} );
$this->store = new TestBagOStuff();