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

Extend and improve SyntaxConformance and other api tests to use operator other then (=, IN)

    Details

    • Type: Improvement
    • Status: To Backport
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.6
    • Fix Version/s: Unscheduled
    • Component/s: CiviCRM API
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None

      Description

      In addition two changes has been made in tests/phpunit/api/v3/SyntaxConformanceTest.php where-
      1) ContributionSoft.pcp_id cannot be updated as it needs existing pcp.id to match with the value passed https://github.com/monishdeb/civicrm-core/commit/7d543448c609a05fc006bd40fd431b2fa83a2ec7#diff-bddbee60cb233dfdfeeb835d1614fcdeR519
      2) Nonexistent Event.id check is being bypassed for now as it pseudo property is associated with it and it eventually lookout for existing for event.id which is ignored by testAcceptsOnlyID_get and leads to test failure

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                monish.deb Monish Deb
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: