fixed --filter=testBatchAddMembership WebTest_Contribute_AddBatchesTest
authorkurund <kurund@civicrm.org>
Wed, 14 Aug 2013 08:07:38 +0000 (13:37 +0530)
committerkurund <kurund@civicrm.org>
Wed, 14 Aug 2013 08:07:38 +0000 (13:37 +0530)
tests/phpunit/WebTest/Contribute/AddBatchesTest.php

index 1985b9be837b2fcf3a833835b7f4f0dacb967192..9d64c6d2df6fca5b8c5f49f94135d1e7f336bf61 100644 (file)
@@ -118,7 +118,7 @@ class WebTest_Contribute_AddBatchesTest extends CiviSeleniumTestCase {
 
     }
     elseif ($type == "Membership") {
-      $this->select("field[{$row}][membership_type][0]", 1);
+      $this->select("field[{$row}][membership_type][0]", "value=1");
       $this->select("field[{$row}][membership_type][1]", $data['membership_type']);
       $this->webtestFillDate("field_{$row}_join_date", "now");
       $this->webtestFillDate("field_{$row}_membership_start_date", "now");