<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
parent::setUp();
}
- function testCustomSameFieldAdd() {
+ public function testCustomSameFieldAdd() {
$this->open($this->sboxPath);
$this->webtestLogin();
$this->_testCustomAdd();
}
- function _testCustomAdd() {
+ public function _testCustomAdd() {
//CRM-7564 : Different gropus can contain same custom fields
$this->open($this->sboxPath . "civicrm/admin/custom/group?action=add&reset=1");
$this->waitForPageToLoad($this->getTimeoutMsec());
//Is custom group created?
$this->waitForText('crm-notification-container', "Your custom field set '$customGroupTitle' has been added. You can add custom fields now.");
-
+
$gid = $this->urlArg('gid');
-
+
//add custom field - alphanumeric text
$this->openCiviPage('admin/custom/group/field/add', "reset=1&action=add&gid=$gid");
$textFieldLabel = 'test_text_field';
}
}
-