+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | 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';
$this->click("_qf_Confirm_next-bottom");
$this->waitForPageToLoad($this->getTimeoutMsec());
- $text = 'This membership will be renewed automatically every 1 year(s).';
+ $text = 'This membership will be renewed automatically every year.';
$this->assertElementContainsText("xpath=//div[@class='crm-group amount_display-group']/div[2]/strong[3]", $text, 'Missing text: ' . $text);
}
$this->click("_qf_Confirm_next-bottom");
$this->waitForPageToLoad($this->getTimeoutMsec());
- $text = 'This membership will be renewed automatically every 1 year(s).';
+ $text = 'This membership will be renewed automatically every year.';
$this->assertElementContainsText("xpath=//div[@class='crm-group amount_display-group']/div[2]/strong[3]", $text, 'Missing text: ' . $text);
}
$this->click("_qf_Confirm_next-bottom");
$this->waitForPageToLoad($this->getTimeoutMsec());
- $text = 'This membership will be renewed automatically every 1 year(s).';
+ $text = 'This membership will be renewed automatically every year.';
$this->assertElementContainsText("xpath=//div[@class='crm-group amount_display-group']/div[2]/strong[3]", $text, 'Missing text: ' . $text);
}
$onBehalf = FALSE;
$pledges = FALSE;
$recurring = TRUE;
- $membershipTypes = array(array('id' => 1, 'auto_renew' => 1),
+ $membershipTypes = array(
+ array('id' => 1, 'auto_renew' => 1),
array('id' => 2, 'auto_renew' => 1),
);
$memPriceSetId = NULL;
return $pageId;
}
+
}