/**
  * @param $name string The name of the test case
  * @param $data array Any parameters read from a dataProvider
  * @param $dataName string|int The name or index of the data set
  */
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     global $wgDonationInterfaceAllowedHtmlForms;
     global $wgDonationInterfaceTest;
     $wgDonationInterfaceTest = true;
     parent::__construct($name, $data, $dataName);
 }
 /**
  * @param $name string The name of the test case
  * @param $data array Any parameters read from a dataProvider
  * @param $dataName string|int The name or index of the data set
  */
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     $adapterclass = TESTS_ADAPTER_DEFAULT;
     $this->testAdapterClass = $adapterclass;
     parent::__construct($name, $data, $dataName);
     self::setupFraudMaps($this);
 }
 /**
  * @param $name string The name of the test case
  * @param $data array Any parameters read from a dataProvider
  * @param $dataName string|int The name or index of the data set
  */
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     $request = RequestContext::getMain()->getRequest();
     $adapterclass = TESTS_ADAPTER_DEFAULT;
     $this->testAdapterClass = $adapterclass;
     parent::__construct($name, $data, $dataName);
     $this->testData = array('amount' => '128.00', 'appeal' => 'JimmyQuote', 'email' => '*****@*****.**', 'fname' => 'Testocres', 'lname' => 'McTestingyou', 'street' => '123 Fake Street', 'city' => 'Springfield', 'state' => 'US', 'zip' => '99999', 'country' => 'US', 'card_num' => '42', 'card_type' => 'visa', 'expiration' => '1138', 'cvv' => '665', 'currency_code' => 'USD', 'payment_method' => 'cc', 'payment_submethod' => 'visa', 'numAttempt' => '5', 'referrer' => 'http://www.testing.com/', 'utm_source' => '..cc', 'utm_medium' => 'large', 'utm_campaign' => 'yes', 'email-opt' => '', 'test_string' => '', 'wmf_token' => '113811', 'contribution_tracking_id' => '', 'data_hash' => '', 'action' => '', 'gateway' => 'DonationData', 'owa_session' => '', 'owa_ref' => 'http://localhost/importedTestData', 'user_ip' => $request->getIP(), 'server_ip' => $request->getIP());
 }
 /**
  * @param $name string The name of the test case
  * @param $data array Any parameters read from a dataProvider
  * @param $dataName string|int The name or index of the data set
  */
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->testAdapterClass = 'TestingPaypalLegacyAdapter';
 }
 /**
  * @param $name string The name of the test case
  * @param $data array Any parameters read from a dataProvider
  * @param $dataName string|int The name or index of the data set
  */
 function __construct($name = null, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->testAdapterClass = 'TestingGlobalCollectAdapter';
 }
 /**
  * @param $name string The name of the test case
  * @param $data array Any parameters read from a dataProvider
  * @param $dataName string|int The name or index of the data set
  */
 function __construct($name = null, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->testAdapterClass = 'TestingGlobalCollectOrphanAdapter';
     $this->dummy_utm_data = array('utm_source' => 'dummy_source', 'utm_campaign' => 'dummy_campaign', 'utm_medium' => 'dummy_medium', 'date' => time());
 }
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->testData = array('amount' => '128', 'email' => '*****@*****.**', 'fname' => 'Testocres', 'mname' => 'S.', 'lname' => 'McTestingyou', 'street' => '123 Fake Street', 'city' => 'Springfield', 'state' => 'US', 'zip' => '99999', 'country' => 'US', 'fname2' => 'Testor', 'lname2' => 'Testeyton', 'street2' => '123 W. Grand Ave.', 'city2' => 'Oakland', 'state2' => 'CA', 'zip2' => '94607', 'country2' => 'US', 'size' => 'Big mcLargeHuge', 'premium_language' => 'fr', 'card_num' => '42', 'card_type' => 'visa', 'expiration' => '1138', 'cvv' => '665', 'currency_code' => 'USD', 'payment_method' => '', 'i_order_id' => '1234567890', 'numAttempt' => '5', 'referrer' => 'http://www.testing.com/', 'utm_source' => '..dd', 'utm_medium' => 'large', 'utm_campaign' => 'yes', 'comment-option' => '', 'comment' => 'My hovercraft is full of eels', 'email-opt' => '', 'test_string' => '', 'token' => '113811', 'contribution_tracking_id' => '', 'data_hash' => '', 'action' => '', 'gateway' => 'chainlink', 'owa_session' => '', 'owa_ref' => 'http://localhost/importedTestData');
 }