Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15291

Fix pyforge test DA_cannot_query_using_incorrect_runas_header

    Details

    • Type: QA Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      1
    • Sprint:
      2020.11 - IDM

      Description

      ./run-pybot.py -t DA_cannot_query_using_incorrect_runas_header openidm
      

      structure of JSON response changed slightly

      20200817 06:06:20.697 - DEBUG - Checking for differences between expected JSON:
      {
          "code": 403,
          "reason": "Forbidden",
          "message": "Access denied"
      }
      and actual JSON:
      {
          "code": 401,
          "reason": "Unauthorized",
          "message": "Access Denied",
          "detail": {
              "failureReasons": [
                  {
                      "code": 403,
                      "reason": "Forbidden",
                      "message": "Credentials do not support RunAs"
                  }
              ]
          }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              travis.haagen Travis Haagen
              Reporter:
              travis.haagen Travis Haagen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: