projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3749 from civicrm/4.4
[civicrm-core.git]
/
tests
/
phpunit
/
WebTest
/
ACL
/
AssignUsersToRolesTest.php
diff --git
a/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php
b/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php
index 8642442a1ebddf781cd554df38e9f72d18f0b858..8f87b1eb7e3ff363af2c40405c07367e1dfca5fd 100755
(executable)
--- a/
tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php
+++ b/
tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-25,6
+25,10
@@
*/
require_once 'CiviTest/CiviSeleniumTestCase.php';
*/
require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_ACL_AssignUsersToRolesTest
+ */
class WebTest_ACL_AssignUsersToRolesTest extends CiviSeleniumTestCase {
protected function setUp() {
class WebTest_ACL_AssignUsersToRolesTest extends CiviSeleniumTestCase {
protected function setUp() {
@@
-48,9
+52,9
@@
class WebTest_ACL_AssignUsersToRolesTest extends CiviSeleniumTestCase {
$label = "TestAclRole" . substr(sha1(rand()), 0, 4);
$this->type("label", $label);
$label = "TestAclRole" . substr(sha1(rand()), 0, 4);
$this->type("label", $label);
- $this->click
Link
("_qf_Options_next-bottom");
+ $this->click("_qf_Options_next-bottom");
- $this->waitForText('crm-notification-container', "The A
cl Role '{$label}' has been saved
");
+ $this->waitForText('crm-notification-container', "The A
CL Role '{$label}' has been saved.
");
$this->openCiviPage("acl/entityrole", "action=add&reset=1");
$this->openCiviPage("acl/entityrole", "action=add&reset=1");