tests: mock parser tests file access
[mediawiki.git] / tests / selenium / suites / SimpleSeleniumTestSuite.php
blob446836a2959f3b2650ffdafb43b9b6a042c2cd54
1 <?php
2 /**
3 * Sample test suite.
4 * Two ways to configure MW for these tests
5 * 1) If you are running multiple test suites, add the following in LocalSettings.php
6 * require_once("tests/selenium/SimpleSeleniumConfig.php");
7 * $wgSeleniumTestConfigs['SimpleSeleniumTestSuite'] = 'SimpleSeleniumConfig::getSettings';
8 * OR
9 * 2) Add the following to your Localsettings.php
10 * $wgDefaultSkin = 'chick';
12 class SimpleSeleniumTestSuite extends SeleniumTestSuite {
13 public function setUp() {
14 $this->setLoginBeforeTests( false );
15 parent::setUp();
18 public function addTests() {
19 $testFiles = array(
20 'selenium/suites/SimpleSeleniumTestCase.php'
22 parent::addTestFiles( $testFiles );