Merge "Remove the 'top' definition from .mw-ui-icon-element:before"
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiUploadTest.php
index 74219bd..7fdefb6 100644 (file)
@@ -17,8 +17,6 @@
 
 // @todo Port the other Upload tests, and other API tests to this framework
 
-require_once 'ApiTestCaseUpload.php';
-
 /**
  * @group Database
  * @group Broken
@@ -467,7 +465,7 @@ class ApiUploadTest extends ApiTestCaseUpload {
                $resultOffset = 0;
                // Open the file:
                wfSuppressWarnings();
-               $handle = @fopen( $filePath, "r" );
+               $handle = fopen( $filePath, "r" );
                wfRestoreWarnings();
 
                if ( $handle === false ) {