X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FContribute%2FUpdateContributionTest.php;h=8aa092a008d77f901d78b676e50a4fcd14e8883a;hb=718e934e2c6fa496ee84f56502d73cae125b1331;hp=244c06c72ca0c06f6dd91c2af17d7607f3f9be97;hpb=80f3b91d38485d41399ab6fab7fa9c08bb6a701e;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php index 244c06c72c..8aa092a008 100755 --- a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php @@ -1,7 +1,7 @@ urlArg('id', $this->getAttribute("xpath=//div[@class='view-content']//table[@class='selector row-highlight']/tbody/tr[1]/td[8]/span/a[text()='Edit']@href")); $this->clickAjaxLink("xpath=//div[@class='view-content']//table[@class='selector row-highlight']/tbody/tr[1]/td[8]/span/a[text()='Edit']", "product_name_0"); - + $this->select('product_name_0', "label=$premiumName2 ( $sku2 )"); // Clicking save. $this->clickAjaxLink("_qf_Contribution_upload", "xpath=//div[@class='view-content']//table[@class='selector row-highlight']//tbody/tr[1]/td[7][text()='$premiumName2']"); @@ -366,7 +366,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { } /** - * @param $entityId + * @param int $entityId * @param null $from * @param null $to * @param null $cost @@ -400,7 +400,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { } /** - * @param $contId + * @param int $contId * * @return null|string */function _getFinancialTrxnAmount($contId) { @@ -415,7 +415,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { } /** - * @param $contId + * @param int $contId * * @return null|string */function _getFinancialItemAmount($contId) { @@ -430,7 +430,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { } /** - * @param $contId + * @param int $contId * * @return null|string */function _getTotalContributedAmount($contId) {