Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13503 CiviHR - Cross-Cutting - Framework (other)
  3. CRM-13523

CRM_Utils_File::sourceSQLFile does not report failed SQL in unit-test

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.6
    • Component/s: CiviHR, Test suite
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      When running a unit-test that loaded an external SQL file, one of the queries in the SQL file failed (due to a bug). However, the cause of the failure wasn't obvious because (a) the error-reporting was switched into "exception" mode and (b) the phpunit output doesn't display rich details from PEAR_Exceptions.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: