Created
April 7, 2017 08:16
-
-
Save monishdeb/da67658e7f9fe00e2a98a802d542fdee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php | |
index 78f3341..ae06581 100644 | |
--- a/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php | |
+++ b/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php | |
@@ -331,7 +331,7 @@ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase { | |
$this->fail("Missed expected exception"); | |
} | |
catch (CRM_Core_Exception $e) { | |
- $this->assertEquals('Revenue recognition date can only be specified if the financial type selected has a deferred revenue account configured. Please have an administrator set up the deferred revenue account at Administer > CiviContribute > Financial Accounts, then configure it for financial types at Administer > CiviContribution > Financial Types, Accounts', $e->getMessage()); | |
+ $this->assertEquals('Revenue Recognition Date cannot be processed unless there is a Deferred Revenue account setup for the Financial Type. Please remove Revenue Recognition Date, select a different Financial Type with a Deferred Revenue account setup for it, or setup a Deferred Revenue account for this Financial Type.', $e->getMessage()); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment