Revert "merged master"
[lhc/web/wiklou.git] / tests / selenium / suites / MediawikiCoreSmokeTestCase.php
index 6b8fc97..5fc1a5a 100644 (file)
@@ -43,7 +43,7 @@ class MediawikiCoreSmokeTestCase extends SeleniumTestCase {
                $this->login();
                $this->open( $this->getUrl() .
                        '/index.php?title=Special:Upload' );
-               $this->type( 'wpUploadFile', __DIR__ .
+               $this->type( 'wpUploadFile', dirname( __FILE__ ) .
                        "\\..\\data\\Wikipedia-logo-v2-de.png" );
                $this->check( 'wpIgnoreWarning' );
                $this->click( 'wpUpload' );