X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fstructure%2FApiDocumentationTest.php;h=2049e38ba00d61e03279d89e5777d62ace01503d;hb=a0803c9bc551631c8a35bf2d99705a724cb62039;hp=b9cb6c17e419dfbfa4f61a7fefb0630ba15357b9;hpb=601519ee36462faabacf4547c9aefaf7e8726476;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/structure/ApiDocumentationTest.php b/tests/phpunit/structure/ApiDocumentationTest.php index b9cb6c17e4..2049e38ba0 100644 --- a/tests/phpunit/structure/ApiDocumentationTest.php +++ b/tests/phpunit/structure/ApiDocumentationTest.php @@ -65,7 +65,7 @@ class ApiDocumentationTest extends MediaWikiTestCase { RequestContext::getMain()->getConfig(), ] ) ); foreach ( $globals as $k => $v ) { - $this->setMWGlobals( "wg$k", $v ); + $this->setMwGlobals( "wg$k", $v ); } // Fetch module. @@ -153,7 +153,7 @@ class ApiDocumentationTest extends MediaWikiTestCase { foreach ( $globals as $k => $v ) { $g[] = "$k=" . var_export( $v, 1 ); } - $k = "Module $path with " . join( ', ', $g ); + $k = "Module $path with " . implode( ', ', $g ); $ret[$k] = [ $path, $globals ]; } }