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

Undo test reduction from HR-377

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      I just discovered that the Syntax Conformance test that was originally testing all entites that support custom data only supports a subset due to HR-377.

      It seems there was a problem testing entities like Campaign in the HR context so testing was removed from the SyntaxConformance test - which is not cool,

      We are now only testing a hard-coded map from that ticket

      static $componentMap = array(
      'Contribution' => 'CiviContribute',
      'Membership' => 'CiviMember',
      'Participant' => 'CiviEvent',
      'Event' => 'CiviEvent',
      'Case' => 'CiviCase',
      'Pledge' => 'CiviPledge',
      'Grant' => 'CiviGrant',
      'Campaign' => 'CiviCampaign',
      'Survey' => 'CiviCampaign',
      );

      but we were testing the full list of supported entities ie contact variants +

      static $extendsMap = array(
      'Contact' => 'civicrm_contact',
      'Contribution' => 'civicrm_contribution',
      'ContributionRecur' => 'civicrm_contribution_recur',
      'Membership' => 'civicrm_membership',
      'Participant' => 'civicrm_participant',
      'Group' => 'civicrm_group',
      'Relationship' => 'civicrm_relationship',
      'Event' => 'civicrm_event',
      'Case' => 'civicrm_case',
      'Activity' => 'civicrm_activity',
      'Pledge' => 'civicrm_pledge',
      'Grant' => 'civicrm_grant',
      'Address' => 'civicrm_address',
      'Campaign' => 'civicrm_campaign',
      'Survey' => 'civicrm_survey',
      );

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: