X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FProfile%2FProfileGroupSubscriptionTest.php;h=4667ed98723a0cbaecb0969577e235e7164ef13c;hb=e9479dcf93594b6338697ce76ab490b753c7de45;hp=048c91348cedcc1488a6e860f7c6d6ec757230e8;hpb=5563fe43b44b754e6441841a5d92664470b20366;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php b/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php index 048c91348c..4667ed9872 100644 --- a/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php +++ b/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Profile_ProfileGroupSubscriptionTest + */ class WebTest_Profile_ProfileGroupSubscriptionTest extends CiviSeleniumTestCase { protected function setUp() { @@ -126,6 +130,9 @@ class WebTest_Profile_ProfileGroupSubscriptionTest extends CiviSeleniumTestCase $this->_testdeleteProfile($profileTitle); } + /** + * @param $profileTitle + */ function _testdeleteProfile($profileTitle) { $this->waitForElementPresent("xpath=//div[@id='user-profiles']/div/div/table/tbody//tr/td/span[text() = '$profileTitle']/../../td[7]/span[2][text()='more']/ul/li[4]/a[text()='Delete']"); $this->click("xpath=//div[@id='user-profiles']/div/div/table/tbody//tr/td/span[text() = '$profileTitle']/../../td[7]/span[2][text()='more']/ul/li[4]/a[text()='Delete']");