public static function getSettings(&$includeFiles, &$globalConfigs) {
$includes = array(
- 'skins/Chick.php'
+ //files that needed to be included would go here
);
$configs = array(
'wgDefaultSkin' => 'chick'
$this->assertEquals( $correct, true );
}
+ /*
+ * All this test really does is verify that a global var was set.
+ * It depends on $wgDefaultSkin = 'chick'; being set
+ */
public function testGlobalVariableForDefaultSkin() {
$this->open( $this->getUrl() . '/index.php?&action=purge' );
$bodyClass = $this->getAttribute( "//body/@class" );
* $wgSeleniumTestConfigs['SimpleSeleniumTestSuite'] = 'SimpleSeleniumConfig::getSettings';
* OR
* 2) Add the following to your Localsettings.php
- * require_once( "$IP/skins/Chick.php" );
* $wgDefaultSkin = 'chick';
*/
class SimpleSeleniumTestSuite extends SeleniumTestSuite