CRM-14399 fix test, add right number of extra params
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 1 Apr 2014 07:51:13 +0000 (20:51 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 1 Apr 2014 07:51:13 +0000 (20:51 +1300)
tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php

index f6fd37eb439d31e8a3881ed47ca1836ba8a5a5a5..08c105c9853b92c0064bb5b405bdef10eebb9fcf 100644 (file)
@@ -125,7 +125,7 @@ class CRM_Member_BAO_MembershipStatusTest extends CiviUnitTestCase {
     $membershipStatus = CRM_Member_BAO_MembershipStatus::add($params);
     $toDate = date('Ymd');
 
-    $result = CRM_Member_BAO_MembershipStatus::getMembershipStatusByDate($toDate, $toDate, $toDate, NULL, $params);
+    $result = CRM_Member_BAO_MembershipStatus::getMembershipStatusByDate($toDate, $toDate, $toDate, 'today', TRUE, NULL, $params);
     $this->assertEquals($result['name'], 'Current', 'Verify membership status record.');
   }