* @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' );
}
}