Merge branch 'JohnFF-patch-1'
[civicrm-core.git] / tests / phpunit / api / v3 / PledgePaymentTest.php
index 80e2f5a6f800d372947e49b02285246968b974b9..8ca9c27345bf5296764109653d9387d5b31557f0 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -44,12 +44,11 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
   protected $_contributionID;
   protected $_financialTypeId = 1;
   protected $_entity = 'PledgePayment';
-  public $_eNoticeCompliant = FALSE;
   public $DBResetRequired = TRUE;
 
   function setUp() {
     parent::setUp();
-    $this->_individualId = $this->individualCreate(NULL);
+    $this->_individualId = $this->individualCreate();
     $this->_pledgeID = $this->pledgeCreate($this->_individualId);
     $this->_contributionID = $this->contributionCreate($this->_individualId);
   }
@@ -210,7 +209,7 @@ class api_v3_PledgePaymentTest extends CiviUnitTestCase {
       'contact_id' => $this->_individualId,
       'pledge_create_date' => date('Ymd'),
       'start_date' => date('Ymd'),
-      'scheduled_date' => $this->scheduled_date,
+      'scheduled_date' => 'first day 2015',
       'pledge_amount' => 100.00,
       'pledge_status_id' => '2',
       'pledge_financial_type_id' => '1',