webtest fix : fixed broken path building due to wrong argument
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Thu, 21 Mar 2013 10:23:30 +0000 (15:53 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Thu, 21 Mar 2013 10:23:30 +0000 (15:53 +0530)
tests/phpunit/CiviTest/CiviSeleniumTestCase.php

index 86a40dc2b30e3d852b8ba5cfd426e374d2efc7f9..1146117e394a993a276dc1f8741f4260fcb31ce9 100644 (file)
@@ -1775,7 +1775,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
   }
 
   function addPaymentInstrument($label, $financialAccount) {
-    $this->openCiviPage('admin/options/payment_instrument?group=payment_instrument&action=add', 'reset=1', "_qf_Options_next-bottom");
+    $this->openCiviPage('admin/options/payment_instrument', 'group=payment_instrument&action=add&reset=1', "_qf_Options_next-bottom");
     $this->type("label", $label);
     $this->select("financial_account_id", "value=$financialAccount");
     $this->click("_qf_Options_next-bottom");