X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FAdmin%2FCustomAddTest.php;h=4a08506caa761cf870fb663d2b2334dfb6165168;hb=e5a69e4ce8cae723e4b7394874c27479af50e311;hp=d7623aafbb319b1110d2a99b16014776ce718976;hpb=ffae152baa52f9744ee875f8417d5e2650a9135e;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Admin/CustomAddTest.php b/tests/phpunit/WebTest/Admin/CustomAddTest.php index d7623aafbb..4a08506caa 100644 --- a/tests/phpunit/WebTest/Admin/CustomAddTest.php +++ b/tests/phpunit/WebTest/Admin/CustomAddTest.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2016 | + | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | 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");