aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
diff options
context:
space:
mode:
authorMax Semenik <maxsem.wiki@gmail.com>2019-11-01 21:05:36 -0700
committerMax Semenik <maxsem.wiki@gmail.com>2019-11-02 12:40:07 -0700
commitdd7026585c06568e143c9fb3709f64116b9ccb70 (patch)
tree094e60b21512df50189883ef1f620dd377c92aa4 /tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
parent73bd3d8b1cad72995d68507463cea15674cbca52 (diff)
downloadmediawikicore-dd7026585c06568e143c9fb3709f64116b9ccb70.tar.gz
mediawikicore-dd7026585c06568e143c9fb3709f64116b9ccb70.zip
Backwards-compatible PHPUnit 8 preparations
This commit splits changes from Ic14f5debc53e55d6714 to reduce it to only strictly needed things. It can be merged immediately. Bug: T192167 Change-Id: I8c541a66ea13421dbe7fa51d197d5455cc4786eb
Diffstat (limited to 'tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php')
-rw-r--r--tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php b/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
index b186014b1ddc..09577e918887 100644
--- a/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
+++ b/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
@@ -146,7 +146,7 @@ class ResourceLoaderModuleTest extends ResourceLoaderTestCase {
* @dataProvider provideBuildContentScripts
* @covers ResourceLoaderModule::buildContent
*/
- public function testBuildContentScripts( $raw, $build, $message = null ) {
+ public function testBuildContentScripts( $raw, $build, $message = '' ) {
$context = $this->getResourceLoaderContext();
$module = new ResourceLoaderTestModule( [
'script' => $raw