tests: Don't set wgStyleSheetPath in addition to wgStylePath
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 7 May 2013 23:32:21 +0000 (01:32 +0200)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 8 May 2013 00:04:38 +0000 (00:04 +0000)
commit53ee1cefcf75932e8e47b46389eb2f8f2b1bf9bb
treec06b8f43688a6933d86975c045c77be492a9400a
parentc0b330ee3ff870b8dec423c0bc7c54eeea8cbf43
tests: Don't set wgStyleSheetPath in addition to wgStylePath

Because 1) `$wgStyleSheetPath = &$wgStylePath;` in default
settings, so setting one sets the other. No need to set both
and 2) in wmf-branches this variable is unset, thus this
caused an E_NOTICE internally when Test::setMwGlobals is
trying to access it to preserve the current value,
and 3) wgStyleSheetPath is deprecated.

Follows-up I1362932db223.

Change-Id: Ibd3f28e460fef995f68dfe1292d25fb75950dcf5
tests/parser/parserTest.inc
tests/phpunit/includes/parser/NewParserTest.php
tests/phpunit/suites/UploadFromUrlTestSuite.php