diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-09-04 05:51:59 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-09-04 05:51:59 +0200 |
commit | 91e194556c52d2f354344f930419eef2dd6267f0 (patch) | |
tree | 0cd12490d3cd3499274017c9b799d0f738d3719e /tests/selenium/suites/SimpleSeleniumConfig.php | |
parent | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (diff) |
Update to MediaWiki 1.21.2
Diffstat (limited to 'tests/selenium/suites/SimpleSeleniumConfig.php')
-rw-r--r-- | tests/selenium/suites/SimpleSeleniumConfig.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/selenium/suites/SimpleSeleniumConfig.php b/tests/selenium/suites/SimpleSeleniumConfig.php new file mode 100644 index 00000000..a6935114 --- /dev/null +++ b/tests/selenium/suites/SimpleSeleniumConfig.php @@ -0,0 +1,30 @@ +<?php +class SimpleSeleniumConfig { + + public static function getSettings( &$includeFiles, &$globalConfigs, &$resourceFiles ) { + global $IP; + $includes = array( + //files that needed to be included would go here + ); + $configs = array( + 'wgDBprefix' => 'mw_', + 'wgDBTableOptions' => 'ENGINE=InnoDB, DEFAULT CHARSET=binary', + 'wgDBmysql5' => 'false', + 'wgMainCacheType' => 'CACHE_NONE', + 'wgParserCacheType' => 'CACHE_NONE', + 'wgMemCachedServers' => array(), + 'wgLanguageCode' => 'en', + 'wgSitename' => 'test_wiki', + 'wgDefaultSkin' => 'chick' + ); + $resources = array( + 'db' => "$IP/tests/selenium/data/SimpleSeleniumTestDB.sql", + 'images' => "$IP/tests/selenium/data/SimpleSeleniumTestImages.zip" + ); + + $includeFiles = array_merge( $includeFiles, $includes ); + $globalConfigs = array_merge( $globalConfigs, $configs ); + $resourceFiles = array_merge( $resourceFiles, $resources ); + return true; + } +} |