From 31b3d1d142c3ea1f2e6167a9bc27f3fde04d33bf Mon Sep 17 00:00:00 2001 From: Edsel Date: Tue, 5 Jul 2016 13:35:28 +0530 Subject: [PATCH] CRM-16189 Fixed jenkins error ---------------------------------------- * CRM-16189: Improve support for Accrual Method bookkeeping https://issues.civicrm.org/jira/browse/CRM-16189 --- tests/phpunit/CRM/Event/BAO/ChangeDeferredTransactionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/CRM/Event/BAO/ChangeDeferredTransactionTest.php b/tests/phpunit/CRM/Event/BAO/ChangeDeferredTransactionTest.php index d6b3daddbfa5..5e105e5f6bf8 100644 --- a/tests/phpunit/CRM/Event/BAO/ChangeDeferredTransactionTest.php +++ b/tests/phpunit/CRM/Event/BAO/ChangeDeferredTransactionTest.php @@ -70,7 +70,7 @@ public function testChangeStartDate() { $finAcc = new CRM_Financial_DAO_FinancialAccount(); $finAcc->name = "Deferred Revenue - Event Fee"; $finAcc->find(TRUE); - + $this->assertEquals($dao->from_financial_account_id, $finAcc->id, 'Financial Account is not of type Deferred'); $this->assertEquals($dao->status_id, 3, 'Status must be of type Cancelled'); @@ -91,7 +91,7 @@ public function testChangeStartDate() { ); $dao = CRM_Core_DAO::executeQuery($sql, $sqlParams); $dao->fetch(); - + $this->assertEquals($dao->from_financial_account_id, $finAcc->id, 'Financial Account is not of type Deferred'); $this->assertEquals($dao->status_id, 1, 'Status must be of type Completed'); $this->assertEquals(date('Ymd', strtotime($dao->trxn_date)), date('Ymd', strtotime('+2 month')), 'Trxn dates do not match');