CRM-17520 webtest fix
authormonishdeb <monish.deb@webaccessglobal.com>
Fri, 20 Nov 2015 05:33:44 +0000 (11:03 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Fri, 20 Nov 2015 05:33:44 +0000 (11:03 +0530)
----------------------------------------
* CRM-17520: Wrong Non-deductable amount after doing back-office contribution with is_deductible = TRUE and no premium
  https://issues.civicrm.org/jira/browse/CRM-17520

tests/phpunit/WebTest/Contribute/OfflineContributionTest.php

index bb7008825bbbdae667752cff6b58161d3f0910cb..c4794d41a8f49a565ae5162c781ae22c7bb0438f 100644 (file)
@@ -283,7 +283,7 @@ class WebTest_Contribute_OfflineContributionTest extends CiviSeleniumTestCase {
       'From' => "{$firstName} {$lastName}",
       'Financial Type' => 'Donation',
       'Total Amount' => 123,
-      'Non-deductible Amount' => 123,
+      'Non-deductible Amount' => '0.00',
       'sort_name' => "$lastName, $firstName",
     );
     $this->_verifyAmounts($checkScenario4);