Merge "rdbms: avoid LoadBalancer::getConnection waste when using $groups"
[lhc/web/wiklou.git] / tests / phpunit / includes / utils / ZipDirectoryReaderTest.php
index 09a0676..a1a3fd7 100644 (file)
@@ -4,7 +4,7 @@
  * @covers ZipDirectoryReader
  * NOTE: this test is more like an integration test than a unit test
  */
-class ZipDirectoryReaderTest extends PHPUnit_Framework_TestCase {
+class ZipDirectoryReaderTest extends PHPUnit\Framework\TestCase {
 
        use MediaWikiCoversValidator;
 
@@ -61,7 +61,8 @@ class ZipDirectoryReaderTest extends PHPUnit_Framework_TestCase {
        }
 
        public function testTrailingBytes() {
-               $this->readZipAssertError( 'trail.zip', 'zip-bad',
+               // Due to T40432 this is now zip-wrong-format instead of zip-bad
+               $this->readZipAssertError( 'trail.zip', 'zip-wrong-format',
                        'Trailing bytes error' );
        }