public function setUp() { if (!extension_loaded('gd')) { $this->markTestSkipped('\\ZendTest\\Barcode\\Renderer\\ImageTest requires the GD extension'); } parent::setUp(); }
public function setUp() { if (!constant('TESTS_ZEND_BARCODE_PDF_SUPPORT')) { $this->markTestSkipped('Enable TESTS_ZEND_BARCODE_PDF_SUPPORT to test PDF render'); } parent::setUp(); }