public function setUp()
 {
     parent::setUp();
     $config = SmashPigDatabaseTestConfiguration::instance();
     Context::initWithLogger($config);
     $this->db = DamagedDatabase::get();
     $this->db->createTable();
 }
 public function setUp()
 {
     parent::setUp();
     $config = SmashPigDatabaseTestConfiguration::instance();
     Context::initWithLogger($config);
     $this->pendingDb = PendingDatabase::get();
     $this->pendingDb->createTable();
     $this->paymentsInitialDb = PaymentsInitialDatabase::get();
     $this->paymentsInitialDb->createTable();
 }
 public function setUp()
 {
     parent::setUp();
     $this->setMwGlobals(array('wgDonationInterfaceOrphanCron' => array('enable' => true, 'target_execute_time' => self::TARGET_EXECUTE_TIME, 'time_buffer' => self::TIME_BUFFER), 'wgGlobalCollectGatewayEnabled' => true, 'wgDonationInterfaceGatewayAdapters' => array('globalcollect' => 'TestingGlobalCollectOrphanAdapter', 'globalcollect_orphan' => 'TestingGlobalCollectOrphanAdapter')));
     $config = SmashPigDatabaseTestConfiguration::instance();
     Context::init($config);
     $this->pendingDb = PendingDatabase::get();
     // Create the schema.
     $this->pendingDb->createTable();
 }