Merge "Add .mw-editsection-like class, behavior same as .mw-editsection"
[lhc/web/wiklou.git] / tests / phpunit / includes / DiffHistoryBlobTest.php
index 53f33d9..76a9a10 100644 (file)
@@ -12,8 +12,8 @@ class DiffHistoryBlobTest extends MediaWikiTestCase {
 
                        return;
                }
-               if ( !extension_loaded( 'hash' ) && !extension_loaded( 'mhash' ) ) {
-                       $this->markTestSkipped( 'Neither the hash nor mhash extension is available' );
+               if ( !extension_loaded( 'hash' ) ) {
+                       $this->markTestSkipped( 'The hash extension is not available' );
 
                        return;
                }
@@ -23,8 +23,9 @@ class DiffHistoryBlobTest extends MediaWikiTestCase {
        /**
         * Test for DiffHistoryBlob::xdiffAdler32()
         * @dataProvider provideXdiffAdler32
+        * @covers DiffHistoryBlob::xdiffAdler32
         */
-       function testXdiffAdler32( $input ) {
+       public function testXdiffAdler32( $input ) {
                $xdiffHash = substr( xdiff_string_rabdiff( $input, '' ), 0, 4 );
                $dhb = new DiffHistoryBlob;
                $myHash = $dhb->xdiffAdler32( $input );