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

Implement unit tests for REST interface

    Details

    • Type: Task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      One should be able to write a WebTest which exercises corner cases of:

      • Authenticate with valid CMS username/password
      • Failed authentication with bad password
      • Authenticate with valid API key for a contact who has CMS user
      • Failed authentication with valid API key for a contact who is missing CMS user
      • Failed authentication with invalid API key

      Note: This issue is filed against 4.4 for planning purposes, but it's patch-welcome on 4.3, too, because it will help QA for both.

        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: