Improve tests for IdentityService#checkPasswordAgainstPolicy

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.11.0, 7.11.0-alpha4
    • Affects Version/s: None
    • Component/s: 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

              Assignee:
              Unassigned
              Reporter:
              Tassilo Weidner-Mühl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: