From 63601400e476c6cf43d985f3e7b9864681695ed4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 18 Jan 2013 16:46:04 +0100 Subject: Update to MediaWiki 1.20.2 this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024 --- tests/selenium/suites/MediawikiCoreSmokeTestCase.php | 2 +- tests/selenium/suites/MyContributionsTestCase.php | 2 +- tests/selenium/suites/MyWatchListTestCase.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/selenium/suites') diff --git a/tests/selenium/suites/MediawikiCoreSmokeTestCase.php b/tests/selenium/suites/MediawikiCoreSmokeTestCase.php index 5fc1a5a6..6b8fc974 100644 --- a/tests/selenium/suites/MediawikiCoreSmokeTestCase.php +++ b/tests/selenium/suites/MediawikiCoreSmokeTestCase.php @@ -43,7 +43,7 @@ class MediawikiCoreSmokeTestCase extends SeleniumTestCase { $this->login(); $this->open( $this->getUrl() . '/index.php?title=Special:Upload' ); - $this->type( 'wpUploadFile', dirname( __FILE__ ) . + $this->type( 'wpUploadFile', __DIR__ . "\\..\\data\\Wikipedia-logo-v2-de.png" ); $this->check( 'wpIgnoreWarning' ); $this->click( 'wpUpload' ); diff --git a/tests/selenium/suites/MyContributionsTestCase.php b/tests/selenium/suites/MyContributionsTestCase.php index 01d87e4b..b8d2d48d 100644 --- a/tests/selenium/suites/MyContributionsTestCase.php +++ b/tests/selenium/suites/MyContributionsTestCase.php @@ -27,7 +27,7 @@ * */ -require_once dirname( dirname( __FILE__ ) ) . '/SeleniumTestConstants.php'; +require_once dirname( __DIR__ ) . '/SeleniumTestConstants.php'; class MyContributionsTestCase extends SeleniumTestCase { diff --git a/tests/selenium/suites/MyWatchListTestCase.php b/tests/selenium/suites/MyWatchListTestCase.php index d1ee3e78..998fab9d 100644 --- a/tests/selenium/suites/MyWatchListTestCase.php +++ b/tests/selenium/suites/MyWatchListTestCase.php @@ -27,7 +27,7 @@ * */ -require_once dirname( dirname( __FILE__ ) ) . '/SeleniumTestConstants.php'; +require_once dirname( __DIR__ ) . '/SeleniumTestConstants.php'; class MyWatchListTestCase extends SeleniumTestCase { -- cgit v1.2.2