Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10115

Improve tests for IdentityService#checkPasswordAgainstPolicy

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.11.0, 7.11.0-alpha4
    • None
    • engine
    • None

      Problem
      DefaultPasswordPolicyTest is hard to understand because everything is tested in a single test case.

      Solution
      There exists for each case a dedicated test with a meaningful method name:

      • default policy contains five rules with respective keys and values of parameters
      • valid password
      • length rule violated
      • lower case rule violated
      • upper case rule violated
      • digit rule violated
      • special char rule violated

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: