public function skip() { $streams = stream_get_transports(); $this->skipIf(!in_array('ssl', $streams), 'SSL is not configured for your system. It is not possible to run this test'); $this->skipIf(!SWIFT_SSL_HOST, 'Cannot run test without an SSL enabled SMTP host to connect to (define ' . 'SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)'); parent::skip(); }
public function setUp() { if (!defined('SWIFT_SENDMAIL_PATH')) { $this->markTestSkipped('Cannot run test without a path to sendmail (define ' . 'SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)'); } parent::setUp(); }
public function setUp() { if (!defined('SWIFT_SMTP_HOST')) { $this->markTestSkipped('Cannot run test without an SMTP host to connect to (define ' . 'SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)'); } parent::setUp(); }
public function setUp() { $streams = stream_get_transports(); if (!in_array('ssl', $streams)) { $this->markTestSkipped('SSL is not configured for your system. It is not possible to run this test'); } if (!defined('SWIFT_SSL_HOST')) { $this->markTestSkipped('Cannot run test without an SSL enabled SMTP host to connect to (define ' . 'SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)'); } parent::setUp(); }
public function skip() { $this->skipIf(!SWIFT_SENDMAIL_PATH, 'Cannot run test without a path to sendmail (define ' . 'SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)'); parent::skip(); }
public function skip() { $this->skipUnless(SWIFT_SMTP_HOST, 'Cannot run test without an SMTP host to connect to (define ' . 'SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)'); parent::skip(); }