ParserTest: Remove warning about gd extension not being installed
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 26 Jul 2016 09:39:56 +0000 (02:39 -0700)
committerTim Starling <tstarling@wikimedia.org>
Wed, 17 Aug 2016 03:20:47 +0000 (03:20 +0000)
The tests actually pass just fine if gd isn't installed.

Change-Id: Ia37255fd642a8f741f1e1a547702495b3a83b584

tests/parser/parserTest.inc

index 9b85d3f..e965e2d 100644 (file)
@@ -174,10 +174,6 @@ class ParserTest {
                        echo "Warning: tidy is not installed, skipping some tests\n";
                }
 
-               if ( !extension_loaded( 'gd' ) ) {
-                       echo "Warning: GD extension is not present, thumbnailing tests will probably fail\n";
-               }
-
                $this->hooks = [];
                $this->functionHooks = [];
                $this->transparentHooks = [];