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
selenium: Replace ES5 one-var assignments with const/let per line
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
phpunit.php
diff --git
a/tests/phpunit/phpunit.php
b/tests/phpunit/phpunit.php
index
d5a19c2
..
6e236cd
100755
(executable)
--- a/
tests/phpunit/phpunit.php
+++ b/
tests/phpunit/phpunit.php
@@
-34,6
+34,13
@@
class PHPUnitMaintClass extends Maintenance {
);
}
);
}
+ public function setup() {
+ parent::setup();
+
+ require_once __DIR__ . '/../common/TestSetup.php';
+ TestSetup::snapshotGlobals();
+ }
+
public function finalSetup() {
parent::finalSetup();
public function finalSetup() {
parent::finalSetup();
@@
-58,9
+65,9
@@
class PHPUnitMaintClass extends Maintenance {
exit( 1 );
}
exit( 1 );
}
-
echo
defined( 'HHVM_VERSION' ) ?
+
fwrite( STDERR,
defined( 'HHVM_VERSION' ) ?
'Using HHVM ' . HHVM_VERSION . ' (' . PHP_VERSION . ")\n" :
'Using HHVM ' . HHVM_VERSION . ' (' . PHP_VERSION . ")\n" :
- 'Using PHP ' . PHP_VERSION . "\n";
+ 'Using PHP ' . PHP_VERSION . "\n"
)
;
// Tell PHPUnit to ignore options meant for MediaWiki
$ignore = [];
// Tell PHPUnit to ignore options meant for MediaWiki
$ignore = [];