<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->_testOrganization($pageId, $cid, $pageTitle);
}
+ /**
+ * @param $pageId
+ * @param $cid
+ * @param $pageTitle
+ */
function _testOrganization($pageId, $cid, $pageTitle) {
//Open Live Contribution Page
$this->openCiviPage("contribute/transact", "reset=1&id=$pageId", "_qf_Main_upload-bottom");
}
+ /**
+ * @param $pageId
+ * @param $cid
+ * @param $pageTitle
+ */
function _testAnomoyousOganization($pageId, $cid, $pageTitle) {
//Open Live Contribution Page
$this->openCiviPage("contribute/transact", "reset=1&id=$pageId", "_qf_Main_upload-bottom");
}
}
+ /**
+ * @param $pageId
+ * @param $cid
+ * @param $pageTitle
+ */
function _testUserWithOneRelationship($pageId, $cid, $pageTitle) {
$this->webtestLogin('admin');
$this->assertTrue($this->isTextPresent('Selected Profile Field has been deleted.'), "Status message didn't show up after saving!");
}
+ /**
+ * @param $pageId
+ * @param $cid
+ * @param $pageTitle
+ */
function _testUserWithMoreThanOneRelationship($pageId, $cid, $pageTitle) {
$this->webtestLogin('admin');
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->waitForText('crm-notification-container', "Selected Profile Field has been deleted.");
}
+ /**
+ * @param $pageId
+ * @param $cid
+ * @param $pageTitle
+ */
function _testOrganizationWithImageUpload($pageId, $cid, $pageTitle) {
//Open Live Contribution Page
$this->openCiviPage("contribute/transact", "reset=1&id=$pageId", '_qf_Main_upload-bottom');