Пример #1
0
 public function setUp()
 {
     if (!getenv('SQS_KEY') || !getenv('SQS_SECRET') || !SQS_REGION || !SQS_QUEUE_NAME) {
         $this->markTestSkipped("SQS credentials not configured");
     }
     parent::setUp();
 }
Пример #2
0
 public function setUp()
 {
     if (!getenv('IRONMQ_TOKEN') || !getenv('IRONMQ_PROJECT_ID')) {
         $this->markTestSkipped("IronMQ credentials not configured");
     }
     parent::setUp();
 }
Пример #3
0
 public function setUp()
 {
     if (!class_exists("\\AMQPConnection")) {
         $this->markTestSkipped("AMQP PECL extension required");
     }
     if (!RABBITMQ_HOST) {
         $this->markTestSkipped('RabbitMQ not configured');
     }
     parent::setUp();
 }
Пример #4
0
 public function setUp()
 {
     if (!class_exists('PhpAmqpLib\\Connection\\AMQPConnection')) {
         $this->markTestSkipped('PhpAmqpLib not found');
     }
     if (!RABBITMQ_HOST) {
         $this->markTestSkipped('RabbitMQ not configured');
     }
     parent::setUp();
 }