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 "Selenium: replace UserLoginPage with BlankPage where possible"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
shell
/
ShellTest.php
diff --git
a/tests/phpunit/includes/shell/ShellTest.php
b/tests/phpunit/includes/shell/ShellTest.php
index
bf46f44
..
5fb3ac0
100644
(file)
--- a/
tests/phpunit/includes/shell/ShellTest.php
+++ b/
tests/phpunit/includes/shell/ShellTest.php
@@
-10,8
+10,6
@@
use Wikimedia\TestingAccessWrapper;
*/
class ShellTest extends MediaWikiTestCase {
*/
class ShellTest extends MediaWikiTestCase {
- use MediaWikiCoversValidator;
-
public function testIsDisabled() {
$this->assertInternalType( 'bool', Shell::isDisabled() ); // sanity
}
public function testIsDisabled() {
$this->assertInternalType( 'bool', Shell::isDisabled() ); // sanity
}
@@
-45,11
+43,12
@@
class ShellTest extends MediaWikiTestCase {
* @param string[] $options
* @param callable|null $hook
*/
* @param string[] $options
* @param callable|null $hook
*/
- public function testMakeScriptCommand( $expected,
- $script,
- $parameters,
- $options = [],
- $hook = null
+ public function testMakeScriptCommand(
+ $expected,
+ $script,
+ $parameters,
+ $options = [],
+ $hook = null
) {
// Running tests under Vagrant involves MWMultiVersion that uses the below hook
$this->setMwGlobals( 'wgHooks', [] );
) {
// Running tests under Vagrant involves MWMultiVersion that uses the below hook
$this->setMwGlobals( 'wgHooks', [] );