<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
require_once 'CiviTest/CiviSeleniumTestCase.php';
parent::setUp();
}
- function testDeceasedContactsAdvanceSearch() {
+ public function testDeceasedContactsAdvanceSearch() {
$this->webtestLogin();
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->click("toggleSelect");
$this->waitForTextPresent('2 Selected records only');
- $this->select('task', 'label=Remove Contacts from Group');
+ $this->select('task', 'label=Group - remove contacts');
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->waitForElementPresent('_qf_RemoveFromGroup_back-bottom');
$this->assertElementContainsText('crm-container', 'Number of selected contacts: 2');
* @param string $groupName
* @param bool $deceased
*/
- function _testAddContact($firstName, $lastName, $email, $groupName, $deceased = FALSE) {
+ public function _testAddContact($firstName, $lastName, $email, $groupName, $deceased = FALSE) {
$this->webtestAddContact($firstName, $lastName, $email);
if ($deceased) {
$this->click('link=Edit');
$this->select('group_id', "{$groupName}");
$this->click('_qf_GroupContact_next');
}
-}
+}