From 31ae2472598c786f1c7bf9211759da019148e8ae Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Fri, 8 Mar 2019 17:48:55 -0800 Subject: [PATCH] SVGMetadataExtractorTest: remove method existence test It should be present in everything we support, as the earliest libxml version would be 2.9.1 while >2.6.20 is required. See https://3v4l.org/LdTIr Change-Id: Ibc7152e9224ef8d5803d0e0ff8314cdf9eb8eac4 --- tests/phpunit/includes/media/SVGMetadataExtractorTest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/phpunit/includes/media/SVGMetadataExtractorTest.php b/tests/phpunit/includes/media/SVGMetadataExtractorTest.php index 7aef246fcc..6b94d0ae6c 100644 --- a/tests/phpunit/includes/media/SVGMetadataExtractorTest.php +++ b/tests/phpunit/includes/media/SVGMetadataExtractorTest.php @@ -18,11 +18,6 @@ class SVGMetadataExtractorTest extends MediaWikiTestCase { */ public function testGetXMLMetadata( $infile, $expected ) { $r = new XMLReader(); - if ( !method_exists( $r, 'readInnerXML' ) ) { - $this->markTestSkipped( 'XMLReader::readInnerXML() does not exist (libxml >2.6.20 needed).' ); - - return; - } $this->assertMetadata( $infile, $expected ); } -- 2.20.1