Merge pull request #3749 from civicrm/4.4
[civicrm-core.git] / tests / phpunit / WebTest / ACL / AssignUsersToRolesTest.php
index ce76ab5c884cf82b9078a8c7d54ad9ec21181bb6..8f87b1eb7e3ff363af2c40405c07367e1dfca5fd 100755 (executable)
 */
 
 require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_ACL_AssignUsersToRolesTest
+ */
 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);
-    $this->clickLink("_qf_Options_next-bottom");
+    $this->click("_qf_Options_next-bottom");
 
-    $this->waitForText('crm-notification-container', "The Acl Role '{$label}' has been saved");
+    $this->waitForText('crm-notification-container', "The ACL Role '{$label}' has been saved.");
 
     $this->openCiviPage("acl/entityrole", "action=add&reset=1");