Team Dynamix unit test fixes

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • 6.1.0, 4.22.1, 7.0.1
    • Affects Version/s: 7.0.1
    • Component/s: None
    • None

      # File Fix
      1 Test Fixed wrong assertion: "test:testGroup" → "test:testGroup1" in diagnostics test
      2 Test Added missing tomcatRunTests() guard to testFullSyncTeamDynamixStartWithAndDiagnostics
      3 Mock Fixed error message: hardcoded "add op" → dynamic op + " op" in replace/remove branch
      4 Mock Removed checkRequestContentType from getGroupgetUsergetGroupsForUser (GET handlers shouldn't require Content-Type)
      5 Mock Renamed grouperScimUser → teamDynamixUser throughout patchUser
      6 Mock Removed Azure-style JSON comments (mailmailEnabled, etc.) from getGroup and deleteUser
      7 Mock Renamed teamDynamixGroups → teamDynamixUsers in getUser and deleteUser; fixed "groupsById" → "usersById" error message in deleteUser
      8 Mock Renamed groupJsonString/groupJsonNode → userJsonString/userJsonNode in searchUsers; renamed loop variable teamDynamixGroup → teamDynamixUser
      9 Test Renamed grouperDuoGroup → teamDynamixGroup across all three test methods
      10 Test Fixed comment: mock_duo_membership → mock_teamdynamix_membership
      11 Mock Removed unused teamDynamixAuth variable in checkAuthorization

            Assignee:
            Chris Hyzer
            Reporter:
            Chris Hyzer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: