public function setUp() { parent::setUp(); $this->config = AdyenTestConfiguration::createWithSuccessfulApi(); Context::initWithLogger($this->config); $this->jobQueue = BaseQueueConsumer::getQueue('jobs-adyen'); $this->jobQueue->createTable('jobs-adyen'); }
public function setUp() { parent::setUp(); $this->config = AdyenTestConfiguration::createWithSuccessfulApi(); Context::initWithLogger($this->config); $this->jobQueue = $this->config->object('data-store/jobs-adyen'); $this->jobQueue->createTable('jobs-adyen'); }
public function setUp() { parent::setUp(); $this->config = AdyenTestConfiguration::createWithSuccessfulApi(); Context::initWithLogger($this->config); $this->pendingDatabase = PendingDatabase::get(); $this->pendingMessage = json_decode(file_get_contents(__DIR__ . '/../Data/pending.json'), true); $this->pendingDatabase->storeMessage($this->pendingMessage); $this->antifraudQueue = BaseQueueConsumer::getQueue('payments-antifraud'); }
public function setUp() { parent::setUp(); $this->config = AdyenTestConfiguration::createWithSuccessfulApi(); Context::initWithLogger($this->config); $this->pendingDatabase = PendingDatabase::get(); $this->pendingMessage = json_decode(file_get_contents(__DIR__ . '/../Data/pending.json'), true); $this->pendingMessage['captured'] = true; $this->pendingDatabase->storeMessage($this->pendingMessage); }