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
Merge "Add RemexHtml to the list of available Tidy drivers"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
session
/
TestUtils.php
diff --git
a/tests/phpunit/includes/session/TestUtils.php
b/tests/phpunit/includes/session/TestUtils.php
index
f1dc9e9
..
f00de55
100644
(file)
--- a/
tests/phpunit/includes/session/TestUtils.php
+++ b/
tests/phpunit/includes/session/TestUtils.php
@@
-12,7
+12,7
@@
class TestUtils {
/**
* Override the singleton for unit testing
* @param SessionManager|null $manager
/**
* Override the singleton for unit testing
* @param SessionManager|null $manager
- * @return \\ScopedCallback|null
+ * @return \\
Wikimedia\
ScopedCallback|null
*/
public static function setSessionManagerSingleton( SessionManager $manager = null ) {
session_write_close();
*/
public static function setSessionManagerSingleton( SessionManager $manager = null ) {
session_write_close();
@@
-45,7
+45,7
@@
class TestUtils {
PHPSessionHandler::install( $manager );
}
PHPSessionHandler::install( $manager );
}
- return new \ScopedCallback( function () use ( &$reset, $oldInstance ) {
+ return new \
Wikimedia\
ScopedCallback( function () use ( &$reset, $oldInstance ) {
foreach ( $reset as &$arr ) {
$arr[0]->setValue( $arr[1] );
}
foreach ( $reset as &$arr ) {
$arr[0]->setValue( $arr[1] );
}