コード例 #1
0
 public function setUp()
 {
     oxDb::getDb()->execute('DROP TABLE IF EXISTS `oepaypal_orderpaymentcomments`');
     oxDb::getDb()->execute('DROP TABLE IF EXISTS `oepaypal_orderpayments`');
     oxDb::getDb()->execute('DROP TABLE IF EXISTS `oepaypal_order`');
     oePayPalEvents::addOrderPaymentsCommentsTable();
     oePayPalEvents::addOrderPaymentsTable();
     oePayPalEvents::addOrderTable();
 }
コード例 #2
0
 /**
  * Set up fixture.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->getConfig()->setConfigParam('iUtfMode', '1');
     oxDb::getDb()->execute('DROP TABLE IF EXISTS `oepaypal_order`');
     oxDb::getDb()->execute('DROP TABLE IF EXISTS `oepaypal_orderpayments`');
     oxDb::getDb()->execute('DROP TABLE IF EXISTS `oepaypal_orderpaymentcomments`');
     oePayPalEvents::addOrderPaymentsTable();
     oePayPalEvents::addOrderTable();
     oePayPalEvents::addOrderPaymentsCommentsTable();
 }