Merge "Skin: Make skins aware of their registered skin name"
[lhc/web/wiklou.git] / tests / phpunit / includes / http / HttpTest.php
index 3693a27..3790e3a 100644 (file)
@@ -497,6 +497,10 @@ class HttpTest extends MediaWikiTestCase {
         * @dataProvider provideCurlConstants
         */
        public function testCurlConstants( $value ) {
+               if ( !extension_loaded( 'curl' ) ) {
+                       $this->markTestSkipped( "PHP extension 'curl' is not loaded, skipping." );
+               }
+
                $this->assertTrue( defined( $value ), $value . ' not defined' );
        }
 }