Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11408

contribution test testcheckRecurPaymentProcessor failing PEAR_Exception: DB Error: constraint violation

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: Test suite
    • Labels:

      Description

      unit test was failing because it was missing a new required field in 4.3 $financial_type_id

      /home/tests/devel-suite/CRM/Core/Error.php:741
      /home/tests/devel-suite/packages/PEAR.php:931
      /home/tests/devel-suite/packages/DB.php:968
      /home/tests/devel-suite/packages/PEAR.php:564
      /home/tests/devel-suite/packages/DB/common.php:1903
      /home/tests/devel-suite/packages/DB/mysql.php:898
      /home/tests/devel-suite/packages/DB/mysql.php:327
      /home/tests/devel-suite/packages/DB/common.php:1216
      /home/tests/devel-suite/packages/DB/DataObject.php:2421
      /home/tests/devel-suite/packages/DB/DataObject.php:1055
      /home/tests/devel-suite/CRM/Core/DAO.php:287
      /home/tests/devel-suite/tests/phpunit/CiviTest/PaypalPro.php:30
      /home/tests/devel-suite/tests/phpunit/CRM/Contribute/BAO/ContributionPageTest.php:162
      /home/tests/devel-suite/tools/scripts/phpunit:76

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              kennedy.ambang Kennedy Ambang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: