Merge pull request #11453 from colemanw/php55
[civicrm-core.git] / tests / phpunit / WebTest / Admin / CustomAddTest.php
index d7623aafbb319b1110d2a99b16014776ce718976..fc5826d55e21b42fb9257cbc381f96ef5da1b2a3 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2018                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -78,11 +78,11 @@ class WebTest_Admin_CustomAddTest extends CiviSeleniumTestCase {
     $checkboxOptionLabel2 = 'check2' . substr(sha1(rand()), 0, 3);
     $this->type("option_label_2", $checkboxOptionLabel2);
     $this->type("option_value_2", "2");
-    $this->click("link=another choice");
+    $this->click("link=add another choice");
     $checkboxOptionLabel3 = 'check3' . substr(sha1(rand()), 0, 3);
     $this->type("option_label_3", $checkboxOptionLabel3);
     $this->type("option_value_3", "3");
-    $this->click("link=another choice");
+    $this->click("link=add another choice");
     $checkboxOptionLabel4 = 'check4' . substr(sha1(rand()), 0, 3);
     $this->type("option_label_4", $checkboxOptionLabel4);
     $this->type("option_value_4", "4");