Esempio n. 1
0
 public function setUp()
 {
     $this->module = new \Codeception\Module\Queue(make_container());
     $this->module->_setConfig($this->config);
     $this->module->_before(Stub::makeEmpty('\\Codeception\\TestCase'));
     try {
         $this->module->clearQueue('default');
     } catch (\Pheanstalk_Exception_ConnectionException $e) {
         $this->markTestSkipped("Beanstalk is not running");
     }
 }
Esempio n. 2
0
 public function setUp()
 {
     $this->module = new \Codeception\Module\Queue();
     $this->module->_setConfig($this->config);
     $this->module->_before(Stub::make('\\Codeception\\TestCase'));
 }