X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCiviTest%2FCiviSeleniumSettings.php.txt;h=37b868d4875c0f9cb22c6328aba6eca20fcd111c;hb=898f38ad65fe945087a16062f22c66bdf9e36e77;hp=96efd31993b755d072c391fe6660afa87db9724f;hpb=e2c816155a0c7f777b6299fc848c86f41a6c43b1;p=civicrm-core.git diff --git a/tests/phpunit/CiviTest/CiviSeleniumSettings.php.txt b/tests/phpunit/CiviTest/CiviSeleniumSettings.php.txt index 96efd31993..37b868d487 100644 --- a/tests/phpunit/CiviTest/CiviSeleniumSettings.php.txt +++ b/tests/phpunit/CiviTest/CiviSeleniumSettings.php.txt @@ -19,22 +19,35 @@ class CiviSeleniumSettings { var $sandboxURL = 'http://devel.drupal.tests.dev.civicrm.org'; var $sandboxPATH = ''; - + var $username = 'demo'; var $password = 'demo'; var $adminUsername = 'USERNAME'; - + var $adminPassword = 'PASSWORD'; + var $adminApiKey = NULL; // civicrm_contact.api_key for admin + var $UFemail = 'noreply@civicrm.org'; + /** + * @var string site API key + */ + var $siteKey = NULL; + /** * @var int seconds */ var $timeout = 30; + /** + * @var array + * @see CiviSeleniumTestCase::setCookies + */ + var $cookies = array(); + /** * @var int|NULL seconds to wait for SeleniumRC to become available * @@ -47,6 +60,12 @@ class CiviSeleniumSettings { function __construct() { $this->fullSandboxPath = $this->sandboxURL . $this->sandboxPATH; + // $this->cookies[] = array( + // 'name' => 'mycookie', + // 'value' => 'myvalue', + // 'path' => '/', + // 'max_age' => 24*60*60, + // );; } }