OutputPageTest should be independent of $wgResourceLoaderDebug setting
authorC. Scott Ananian <cscott@cscott.net>
Tue, 25 Sep 2018 14:31:57 +0000 (10:31 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Tue, 25 Sep 2018 16:56:40 +0000 (12:56 -0400)
commit36f14abd2656cca030d3cbe4ddbbf8639c48cf7c
treef04e1ca2f58f0bf1c3b02977618cd016f8f2988c
parent3888c001a1dbc04f1fd6bb51328b1cb1296c02f6
OutputPageTest should be independent of $wgResourceLoaderDebug setting

`OutputPageTest::testMakeResourceLoaderLink()` and
`OutputPageTest::testBuildExemptModules()` tried to force
`$wgResourceLoaderDebug=false` before running the test, but they
neglected to clear the resource loader debug cache
(`ResourceLoader::clearCache()`) so the user's local setting of
`$wgResourceLoaderDebug` would be used despite it all.

Change-Id: I3e7dec762c8a02683fc66a630c950b72a4840a9b
tests/phpunit/includes/OutputPageTest.php