notice fixes
authorkurund <kurund@civicrm.org>
Wed, 14 Aug 2013 08:04:29 +0000 (13:34 +0530)
committerkurund <kurund@civicrm.org>
Wed, 14 Aug 2013 08:04:29 +0000 (13:34 +0530)
tests/phpunit/WebTest/Contribute/AddBatchesTest.php

index c40830f57c6857029447518cfecd5bb687691d1d..1985b9be837b2fcf3a833835b7f4f0dacb967192 100644 (file)
@@ -118,6 +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][1]", $data['membership_type']);
       $this->webtestFillDate("field_{$row}_join_date", "now");
       $this->webtestFillDate("field_{$row}_membership_start_date", "now");