resourceloader: Use 'phpunit' instead of 'test' as default target in PHPUnit tests
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 17 Nov 2015 03:55:19 +0000 (03:55 +0000)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 17 Nov 2015 03:59:02 +0000 (03:59 +0000)
commitf1c3e9d7916275a813ec327ed16b365d54072ff2
tree02ff3f64715ef03a18e0fd0fd9be07dd3540f404
parentcd62eb90ee8f58301e5ff7cea8db7db1408eff0d
resourceloader: Use 'phpunit' instead of 'test' as default target in PHPUnit tests

Follows-up e9b9e4df7a5, which started using target=test as reserved for
Special:JavaScriptTest. However that conflicted with this.

Without this change, the unit tests fail if the MediaWiki install has
$wgEnableJavaScriptTest enabled.

Change-Id: I471017e7aedb74dddb4dc18ee4e89c1706ff09b5
includes/resourceloader/ResourceLoaderStartUpModule.php
tests/phpunit/ResourceLoaderTestCase.php